fix bug
This commit is contained in:
@@ -36,7 +36,7 @@ def StartTrend() -> None:
|
||||
assets = portfolio.assets
|
||||
positions = list(portfolio.positions.values())
|
||||
cache_portfolio(config.account_config.account_id, assets, positions, client.deals())
|
||||
order_book = OrderBook("trend")
|
||||
order_book = OrderBook()
|
||||
order_book.refresh(client, portfolio.orders)
|
||||
|
||||
# 获取本策略的信号开仓数据
|
||||
|
||||
Reference in New Issue
Block a user