Skip to content

Commit 7d5883b

Browse files
committed
Change QMT and Binance account keys/labels to default
1 parent 28362b1 commit 7d5883b

3 files changed

Lines changed: 14 additions & 10 deletions

File tree

platform-config.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@
194194
"dca": false
195195
},
196196
"default_account": {
197-
"key": "preview",
198-
"label": "QMT dry-run",
197+
"key": "default",
198+
"label": "QMT",
199199
"target_name": "industry_etf_dry_run",
200200
"cash_currency": "CNY",
201201
"default_strategy_profile": "cn_industry_etf_rotation",
@@ -231,15 +231,14 @@
231231
"dca": true
232232
},
233233
"default_account": {
234-
"key": "preview",
234+
"key": "default",
235235
"label": "Binance",
236236
"target_name": "crypto_combo",
237+
"cash_currency": "USD",
238+
"default_strategy_profile": "crypto_equity_combo",
237239
"supported_domains": [
238240
"crypto"
239-
],
240-
"default_strategy_profile": "crypto_equity_combo",
241-
"cash_currency": "USD",
242-
"default_execution_mode": "live"
241+
]
243242
},
244243
"deployment": {
245244
"default_execution_mode": "live",

web/strategy-switch-console/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,11 +1505,11 @@ <h2 data-i18n="summary">切换摘要</h2>
15051505
const defaultRepositories = platformRepositories;
15061506

15071507
const defaultAccountOptions = {
1508-
binance: [{"key": "preview", "label": "Binance", "target_name": "crypto_combo", "supported_domains": ["crypto"], "default_strategy_profile": "crypto_equity_combo", "cash_currency": "USD", "default_execution_mode": "live"}],
1508+
binance: [{"key": "default", "label": "Binance", "target_name": "crypto_combo", "cash_currency": "USD", "default_strategy_profile": "crypto_equity_combo", "supported_domains": ["crypto"]}],
15091509
firstrade: [{"key": "preview", "label": "Firstrade", "target_name": "preview", "supported_domains": ["us_equity"], "cash_currency": "USD", "default_execution_mode": "live", "service_name": "firstrade-quant-service"}],
15101510
ibkr: [{"key": "preview", "label": "IBKR", "target_name": "preview", "supported_domains": ["us_equity", "hk_equity"], "cash_currency": "USD", "default_execution_mode": "live"}],
15111511
longbridge: [{"key": "preview", "label": "LongBridge", "target_name": "preview", "supported_domains": ["us_equity", "hk_equity"], "cash_currency": "USD", "default_execution_mode": "live"}],
1512-
qmt: [{"key": "preview", "label": "QMT dry-run", "target_name": "industry_etf_dry_run", "cash_currency": "CNY", "default_strategy_profile": "cn_industry_etf_rotation", "supported_domains": ["cn_equity"], "service_name": "qmt-quant-service"}],
1512+
qmt: [{"key": "default", "label": "QMT", "target_name": "industry_etf_dry_run", "cash_currency": "CNY", "default_strategy_profile": "cn_industry_etf_rotation", "supported_domains": ["cn_equity"], "service_name": "qmt-quant-service"}],
15131513
schwab: [{"key": "preview", "label": "Schwab", "target_name": "preview", "supported_domains": ["us_equity"], "cash_currency": "USD", "default_execution_mode": "live", "service_name": "charles-schwab-quant-service"}],
15141514
};
15151515

@@ -1606,6 +1606,11 @@ <h2 data-i18n="summary">切换摘要</h2>
16061606

16071607

16081608

1609+
1610+
1611+
1612+
1613+
16091614

16101615

16111616

web/strategy-switch-console/page_asset.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)