Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arihant2math committed Jun 11, 2023
1 parent 07708fc commit 7595a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autotraders/shared_models/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, data):
self.waypoint_symbol: MapSymbol = MapSymbol(data["waypointSymbol"])
self.ship_symbol: str = data["shipSymbol"]
self.transaction_type = data["type"]
self.item = Item(data["tradeSymbol"], data["units"], "")
self.item = Item(data["tradeSymbol"], data["units"], None)
self.price_per_unit = data["pricePerUnit"]
self.total_price = data["totalPrice"]
self.timestamp = parse_time(data["timestamp"])

0 comments on commit 7595a64

Please sign in to comment.