@@ -254,30 +254,30 @@ def test_build_switch_target_patches_ibkr_service_targets_json(self):
254254 "defaults" : {"NOTIFY_LANG" : "zh" },
255255 "targets" : [
256256 {
257- "service" : "interactive-brokers-live-u1599 -tqqq-service" ,
258- "ACCOUNT_GROUP" : "live-u1599 -tqqq" ,
257+ "service" : "interactive-brokers-demo-ibkr -tqqq-service" ,
258+ "ACCOUNT_GROUP" : "demo-ibkr -tqqq" ,
259259 "runtime_target" : {
260260 "platform_id" : "ibkr" ,
261261 "strategy_profile" : "old_strategy" ,
262262 "dry_run_only" : False ,
263- "deployment_selector" : "live-u1599 -tqqq" ,
264- "account_selector" : ["U15998061 " ],
265- "account_scope" : "live-u1599 -tqqq" ,
266- "service_name" : "interactive-brokers-live-u1599 -tqqq-service" ,
263+ "deployment_selector" : "demo-ibkr -tqqq" ,
264+ "account_selector" : ["DEMO_IBKR_PRIMARY " ],
265+ "account_scope" : "demo-ibkr -tqqq" ,
266+ "service_name" : "interactive-brokers-demo-ibkr -tqqq-service" ,
267267 "execution_mode" : "live" ,
268268 },
269269 },
270270 {
271- "service" : "interactive-brokers-live-u1660 -soxl-service" ,
272- "ACCOUNT_GROUP" : "live-u1660 -soxl" ,
271+ "service" : "interactive-brokers-demo-ibkr -soxl-service" ,
272+ "ACCOUNT_GROUP" : "demo-ibkr -soxl" ,
273273 "runtime_target" : {
274274 "platform_id" : "ibkr" ,
275275 "strategy_profile" : "soxl_soxx_trend_income" ,
276276 "dry_run_only" : False ,
277- "deployment_selector" : "live-u1660 -soxl" ,
278- "account_selector" : ["U16608560 " ],
279- "account_scope" : "live-u1660 -soxl" ,
280- "service_name" : "interactive-brokers-live-u1660 -soxl-service" ,
277+ "deployment_selector" : "demo-ibkr -soxl" ,
278+ "account_selector" : ["DEMO_IBKR_SOXL " ],
279+ "account_scope" : "demo-ibkr -soxl" ,
280+ "service_name" : "interactive-brokers-demo-ibkr -soxl-service" ,
281281 "execution_mode" : "live" ,
282282 },
283283 },
@@ -292,13 +292,13 @@ def test_build_switch_target_patches_ibkr_service_targets_json(self):
292292 "--platform" ,
293293 "ibkr" ,
294294 "--target-name" ,
295- "live-u1599 -tqqq" ,
295+ "demo-ibkr -tqqq" ,
296296 "--strategy-profile" ,
297297 "tqqq_growth_income" ,
298298 "--account-selector" ,
299- "U15998061 " ,
299+ "DEMO_IBKR_PRIMARY " ,
300300 "--service-name" ,
301- "interactive-brokers-live-u1599 -tqqq-service" ,
301+ "interactive-brokers-demo-ibkr -tqqq-service" ,
302302 "--existing-service-targets-json-file" ,
303303 str (path ),
304304 ]
@@ -324,16 +324,16 @@ def test_build_switch_target_patches_ibkr_service_targets_with_empty_plugin_moun
324324 existing = {
325325 "targets" : [
326326 {
327- "service" : "interactive-brokers-live-u1599 -tqqq-service" ,
328- "ACCOUNT_GROUP" : "live-u1599 -tqqq" ,
327+ "service" : "interactive-brokers-demo-ibkr -tqqq-service" ,
328+ "ACCOUNT_GROUP" : "demo-ibkr -tqqq" ,
329329 "runtime_target" : {
330330 "platform_id" : "ibkr" ,
331331 "strategy_profile" : "tqqq_growth_income" ,
332332 "dry_run_only" : False ,
333- "deployment_selector" : "live-u1599 -tqqq" ,
334- "account_selector" : ["U15998061 " ],
335- "account_scope" : "live-u1599 -tqqq" ,
336- "service_name" : "interactive-brokers-live-u1599 -tqqq-service" ,
333+ "deployment_selector" : "demo-ibkr -tqqq" ,
334+ "account_selector" : ["DEMO_IBKR_PRIMARY " ],
335+ "account_scope" : "demo-ibkr -tqqq" ,
336+ "service_name" : "interactive-brokers-demo-ibkr -tqqq-service" ,
337337 "execution_mode" : "live" ,
338338 },
339339 "IBKR_STRATEGY_PLUGIN_MOUNTS_JSON" : {
@@ -359,13 +359,13 @@ def test_build_switch_target_patches_ibkr_service_targets_with_empty_plugin_moun
359359 "--platform" ,
360360 "ibkr" ,
361361 "--target-name" ,
362- "live-u1599 -tqqq" ,
362+ "demo-ibkr -tqqq" ,
363363 "--strategy-profile" ,
364364 "soxl_soxx_trend_income" ,
365365 "--account-selector" ,
366- "U15998061 " ,
366+ "DEMO_IBKR_PRIMARY " ,
367367 "--service-name" ,
368- "interactive-brokers-live-u1599 -tqqq-service" ,
368+ "interactive-brokers-demo-ibkr -tqqq-service" ,
369369 "--existing-service-targets-json-file" ,
370370 str (path ),
371371 ]
0 commit comments