You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open orders do not close in the liquidation event. Creates the following error:
============================== EXCEPTION TRACEBACK:
File "/jesse_strategy/venv/bin/jesse", line 8, in<module>sys.exit(cli())
File "/jesse_strategy/venv/lib/python3.9/site-packages/click/core.py", line 1134, in __call__
return self.main(*args, **kwargs)
File "/jesse_strategy/venv/lib/python3.9/site-packages/click/core.py", line 1059, in main
rv = self.invoke(ctx)
File "/jesse_strategy/venv/lib/python3.9/site-packages/click/core.py", line 1665, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/jesse_strategy/venv/lib/python3.9/site-packages/click/core.py", line 1401, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/jesse_strategy/venv/lib/python3.9/site-packages/click/core.py", line 767, in invoke
return __callback(*args, **kwargs)
File "/jesse_strategy/venv/lib/python3.9/site-packages/jesse/__init__.py", line 302, in backtest
backtest_mode.run(start_date, finish_date, chart=chart, tradingview=tradingview, csv=csv,
File "/jesse_strategy/venv/lib/python3.9/site-packages/jesse/modes/backtest_mode/__init__.py", line 66, in run
simulator(candles)
File "/jesse_strategy/venv/lib/python3.9/site-packages/jesse/modes/backtest_mode/__init__.py", line 274, in simulator
_simulate_price_change_effect(short_candle, exchange, symbol)
File "/jesse_strategy/venv/lib/python3.9/site-packages/jesse/modes/backtest_mode/__init__.py", line 378, in _simulate_price_change_effect
order.execute()
File "/jesse_strategy/venv/lib/python3.9/site-packages/jesse/models/Order.py", line 148, in execute
p._on_executed_order(self)
File "/jesse_strategy/venv/lib/python3.9/site-packages/jesse/models/Position.py", line 353, in _on_executed_order
self.strategy._on_updated_position(order)
File "/jesse_strategy/venv/lib/python3.9/site-packages/jesse/strategies/Strategy.py", line 142, in _on_updated_position
self._log_position_update(order, role)
File "/jesse_strategy/venv/lib/python3.9/site-packages/jesse/strategies/Strategy.py", line 1078, in _log_position_update
self.trade.orders.append(order)
=========================================================================
Uncaught Exception: AttributeError: 'NoneType' object has no attribute 'orders'
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Open orders do not close in the liquidation event. Creates the following error:
The text was updated successfully, but these errors were encountered: