fix(live): vt_symbol 默认值改裸码600000(前后端;后端create自动补后缀,默认值无需带SSE) [nas]
This commit is contained in:
@@ -49,7 +49,7 @@ onMounted(async () => {
|
||||
const form = ref<LiveCreateRequest>({
|
||||
name: 'live-600000',
|
||||
account: '66639661',
|
||||
vt_symbol: '600000.SSE',
|
||||
vt_symbol: '600000',
|
||||
strategy_class: 'AShareDoubleMaStrategy',
|
||||
strategy_name: 'AShareDoubleMa_600000',
|
||||
setting: {
|
||||
|
||||
@@ -39,7 +39,7 @@ async def verify_token(authorization: str | None = Header(None)):
|
||||
class LiveCreateRequest(BaseModel):
|
||||
name: str = "live"
|
||||
account: str
|
||||
vt_symbol: str = "600000.SSE"
|
||||
vt_symbol: str = "600000"
|
||||
strategy_class: str = "AShareDoubleMaStrategy"
|
||||
strategy_name: str
|
||||
setting: dict = {}
|
||||
|
||||
Reference in New Issue
Block a user