掘金社区

('config status: ', 0) ('exit code: ', 1004)是什么意思?Pinned highlighted

139809***724 发表在掘金2 2016-06-18 02:42:49

掘金2
540
1
0

如题,
def on_bar(self, bar):
print ("return bar")
if self.oc:
self.open_long(bar.exchange, bar.sec_id, 0, 100)
else:
self.close_long(bar.exchange, bar.sec_id, 0, 100)
self.oc = not self.oc
run 并不打印

评论: 1

Looks like your connection to 掘金量化社区 - 量化交易者的策略交流学习社区 was lost, please wait while we try to reconnect.