Skip to content

Commit

Permalink
feat(backtest-mode): fix typing for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
yakir4123 committed May 23, 2024
1 parent 233850d commit 30145ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jesse/modes/backtest_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def _get_executing_orders(exchange, symbol, real_candle):
]


def _sort_execution_orders(orders: list[Order], short_candles: np.ndarray):
def _sort_execution_orders(orders: List[Order], short_candles: np.ndarray):
sorted_orders = []
for i in range(len(short_candles)):
included_orders = [
Expand Down

0 comments on commit 30145ee

Please sign in to comment.