Skip to content

Commit 28362b1

Browse files
committed
Update service names from real GCP data (schwab/firstrade/qmt), clear IB/LB/binance
1 parent dd28345 commit 28362b1

3 files changed

Lines changed: 18 additions & 13 deletions

File tree

platform-config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"STRATEGY_SWITCH_LONGBRIDGE_REPO",
6161
"RUNTIME_SETTINGS_LONGBRIDGE_REPO"
6262
],
63-
"service_name": "longbridge-quant-service"
63+
"service_name": ""
6464
}
6565
},
6666
"ibkr": {
@@ -99,7 +99,7 @@
9999
"STRATEGY_SWITCH_IBKR_REPO",
100100
"RUNTIME_SETTINGS_IBKR_REPO"
101101
],
102-
"service_name": "ibkr-quant-service"
102+
"service_name": ""
103103
}
104104
},
105105
"schwab": {
@@ -136,7 +136,7 @@
136136
"STRATEGY_SWITCH_SCHWAB_REPO",
137137
"RUNTIME_SETTINGS_SCHWAB_REPO"
138138
],
139-
"service_name": "schwab-quant-service"
139+
"service_name": "charles-schwab-quant-service"
140140
}
141141
},
142142
"firstrade": {
@@ -248,7 +248,7 @@
248248
"STRATEGY_SWITCH_BINANCE_REPO",
249249
"RUNTIME_SETTINGS_BINANCE_REPO"
250250
],
251-
"service_name": "binance-quant-service"
251+
"service_name": ""
252252
}
253253
}
254254
},

web/strategy-switch-console/index.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,12 +1505,12 @@ <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", "service_name": "binance-quant-service"}],
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"}],
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"}],
1510-
ibkr: [{"key": "preview", "label": "IBKR", "target_name": "preview", "supported_domains": ["us_equity", "hk_equity"], "cash_currency": "USD", "default_execution_mode": "live", "service_name": "ibkr-quant-service"}],
1511-
longbridge: [{"key": "preview", "label": "LongBridge", "target_name": "preview", "supported_domains": ["us_equity", "hk_equity"], "cash_currency": "USD", "default_execution_mode": "live", "service_name": "longbridge-quant-service"}],
1510+
ibkr: [{"key": "preview", "label": "IBKR", "target_name": "preview", "supported_domains": ["us_equity", "hk_equity"], "cash_currency": "USD", "default_execution_mode": "live"}],
1511+
longbridge: [{"key": "preview", "label": "LongBridge", "target_name": "preview", "supported_domains": ["us_equity", "hk_equity"], "cash_currency": "USD", "default_execution_mode": "live"}],
15121512
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"}],
1513-
schwab: [{"key": "preview", "label": "Schwab", "target_name": "preview", "supported_domains": ["us_equity"], "cash_currency": "USD", "default_execution_mode": "live", "service_name": "schwab-quant-service"}],
1513+
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

15161516
const domainLabels = {
@@ -1529,7 +1529,7 @@ <h2 data-i18n="summary">切换摘要</h2>
15291529
option_overlay: false,
15301530
dca: true,
15311531
execution_mode: "live",
1532-
service_name: "binance-quant-service",
1532+
service_name: "",
15331533
default_execution_mode: "live"
15341534
},
15351535
firstrade: {
@@ -1551,7 +1551,7 @@ <h2 data-i18n="summary">切换摘要</h2>
15511551
option_overlay: true,
15521552
dca: false,
15531553
execution_mode: "live",
1554-
service_name: "ibkr-quant-service",
1554+
service_name: "",
15551555
default_execution_mode: "live"
15561556
},
15571557
longbridge: {
@@ -1562,7 +1562,7 @@ <h2 data-i18n="summary">切换摘要</h2>
15621562
option_overlay: true,
15631563
dca: false,
15641564
execution_mode: "live",
1565-
service_name: "longbridge-quant-service",
1565+
service_name: "",
15661566
default_execution_mode: "live"
15671567
},
15681568
qmt: {
@@ -1584,7 +1584,7 @@ <h2 data-i18n="summary">切换摘要</h2>
15841584
option_overlay: true,
15851585
dca: false,
15861586
execution_mode: "live",
1587-
service_name: "schwab-quant-service",
1587+
service_name: "charles-schwab-quant-service",
15881588
default_execution_mode: "live"
15891589
},
15901590
};
@@ -1603,6 +1603,11 @@ <h2 data-i18n="summary">切换摘要</h2>
16031603

16041604

16051605

1606+
1607+
1608+
1609+
1610+
16061611

16071612

16081613

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)