Skip to content

Commit

Permalink
[Tests] check trade executed time
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Jan 30, 2024
1 parent 0825136 commit 675fbb3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ def check_parsed_trade(self, trade: personal_data.Trade):
assert trade.exchange_trade_id
assert trade.side
if trade.status is not trading_enums.OrderStatus.CANCELED:
assert trade.executed_time
assert trade.executed_quantity
self.check_theoretical_cost(
symbols.parse_symbol(trade.symbol), trade.executed_quantity,
Expand Down

0 comments on commit 675fbb3

Please sign in to comment.