Skip to content

Commit ed9c639

Browse files
committed
Fix examples/ricequant/advanced_strategy.py
1 parent f4bfa3c commit ed9c639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ricequant/advanced_strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ def handle_bar(context, bar_dict):
1616
finally:
1717
# 放在 finally 块中,以防原有代码抛出异常或者 return
1818
# 在函数结尾处加入以下语句,用来将模拟盘同步至实盘
19-
g.__manager.work()
19+
context.__manager.work()

0 commit comments

Comments
 (0)