Browse Source

feat: strategy errors

pull/19/head
QuentinN42 8 months ago
parent
commit
5fe7e51b5a
Signed by: number42 GPG Key ID: 2CD7D563712B3A50
  1. 8
      auto_trading/errors.py

8
auto_trading/errors.py

@ -25,3 +25,11 @@ class OrderFails(OrderException):
class PTFException(TradingException):
"""An error occur inside the PTF."""
class StrategyError(TradingException):
"""An error linked to a strategy was encountered."""
class StrategyInitError(StrategyError):
"""An error occurred during the strategy initialization."""

Loading…
Cancel
Save