- 精华
- 0
- 在线时间
- 59 小时
- UID
- 2236
- 积分
- 194
- 帖子
- 20
- 阅读权限
- 40
- 注册时间
- 2008-8-30
- 最后登录
- 2019-3-30
- 精华
- 0
- UID
- 2236
- 积分
- 194
- 帖子
- 20
- 主题
- 10
- 阅读权限
- 40
- 注册时间
- 2008-8-30
- 最后登录
- 2019-3-30
|
you may try to use global variables as flags, set up a timer or allow only one transaction in each bar. However it seems there is no mechanism in TB to save trading system state onto the harddisk and read them back. WhenTB crashes or gets disconnected, your script might not be able to recover all state variables.
[ 本帖最后由 clearpicks 于 2008-9-3 10:21 编辑 ] |
|