adding stop loss order id to Trade
This commit is contained in:
parent
3b7e05e07b
commit
bb37b56dea
@ -178,6 +178,7 @@ class Trade(_DECL_BASE):
|
|||||||
# absolute value of the initial stop loss
|
# absolute value of the initial stop loss
|
||||||
initial_stop_loss = Column(Float, nullable=True, default=0.0)
|
initial_stop_loss = Column(Float, nullable=True, default=0.0)
|
||||||
# absolute value of the highest reached price
|
# 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)
|
max_rate = Column(Float, nullable=True, default=0.0)
|
||||||
sell_reason = Column(String, nullable=True)
|
sell_reason = Column(String, nullable=True)
|
||||||
strategy = Column(String, nullable=True)
|
strategy = Column(String, nullable=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user