trading_mode default null in models.Trade

This commit is contained in:
Sam Germain 2021-10-12 20:34:19 -06:00
parent 82742cd659
commit 0dbad19b40

View File

@ -923,7 +923,7 @@ class Trade(_DECL_BASE, LocalTrade):
buy_tag = Column(String(100), nullable=True) buy_tag = Column(String(100), nullable=True)
timeframe = Column(Integer, nullable=True) timeframe = Column(Integer, nullable=True)
trading_mode = Column(Enum(TradingMode)) trading_mode = Column(Enum(TradingMode), nullable=True)
# Leverage trading properties # Leverage trading properties
leverage = Column(Float, nullable=True, default=1.0) leverage = Column(Float, nullable=True, default=1.0)