[Fix] close #2180
This commit is contained in:
parent
f0590678df
commit
daaadd8dca
@ -116,7 +116,7 @@ class LegData:
|
|||||||
else:
|
else:
|
||||||
self.long_pos -= trade.volume
|
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:
|
class SpreadData:
|
||||||
|
Loading…
Reference in New Issue
Block a user