fix bug
This commit is contained in:
@@ -55,6 +55,7 @@ def StartTrend() -> None:
|
|||||||
client=client,
|
client=client,
|
||||||
global_cfg=config.global_config,
|
global_cfg=config.global_config,
|
||||||
account_cfg=config.account_config,
|
account_cfg=config.account_config,
|
||||||
|
etf_cfg=config.etf_config,
|
||||||
orders=order_book,
|
orders=order_book,
|
||||||
open_watch=DipWatch(),
|
open_watch=DipWatch(),
|
||||||
add_watch=DipWatch(),
|
add_watch=DipWatch(),
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ def StartZT() -> None:
|
|||||||
client=client,
|
client=client,
|
||||||
global_cfg=config.global_config,
|
global_cfg=config.global_config,
|
||||||
account_cfg=config.account_config,
|
account_cfg=config.account_config,
|
||||||
|
etf_cfg=config.etf_config,
|
||||||
orders=OrderBook(cancel_timeout_sec=CANCEL_TIMEOUT_SEC),
|
orders=OrderBook(cancel_timeout_sec=CANCEL_TIMEOUT_SEC),
|
||||||
open_watch=DipWatch(),
|
open_watch=DipWatch(),
|
||||||
add_watch=DipWatch(),
|
add_watch=DipWatch(),
|
||||||
|
|||||||
Reference in New Issue
Block a user