adding stop loss order id to Trade

This commit is contained in:
misagh 2018-11-22 16:47:52 +01:00
parent 3b7e05e07b
commit bb37b56dea

View File

@ -178,6 +178,7 @@ class Trade(_DECL_BASE):
# absolute value of the initial stop loss
initial_stop_loss = Column(Float, nullable=True, default=0.0)
# absolute value of the highest reached price
stoploss_order_id = Column(Integer, nullable=True, index=True)
max_rate = Column(Float, nullable=True, default=0.0)
sell_reason = Column(String, nullable=True)
strategy = Column(String, nullable=True)