diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/trade_dataclasses.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py index 2fdfa1be..f39dd3c6 100644 --- a/python/trade_dataclasses.py +++ b/python/trade_dataclasses.py @@ -750,7 +750,7 @@ class SpotDeal( (line["Counterparty Deal Code"],), ) (cp_code,) = c.fetchone() - if line["Side"] == "S": + if line["Side"] == "B": key1, key2 = "buy", "sell" else: key1, key2 = "sell", "buy" |
