This commit is contained in:
vn.py 2019-11-07 14:33:08 +08:00
parent f0590678df
commit daaadd8dca

View File

@ -116,7 +116,7 @@ class LegData:
else:
self.long_pos -= trade.volume
self.net_pos = self.long_pos - self.net_pos
self.net_pos = self.long_pos - self.short_pos
class SpreadData: