Wrote all tests for shorting

This commit is contained in:
Sam Germain
2021-07-02 02:48:30 -06:00
parent 4d057b8047
commit 25ff726921
5 changed files with 852 additions and 134 deletions

View File

@@ -132,9 +132,6 @@ class Order(_DECL_BASE):
order_filled_date = Column(DateTime, nullable=True)
order_update_date = Column(DateTime, nullable=True)
leverage = Column(Float, nullable=True, default=None)
is_short = Column(Boolean, nullable=True, default=False)
def __repr__(self):
return (f'Order(id={self.id}, order_id={self.order_id}, trade_id={self.ft_trade_id}, '
f'side={self.side}, order_type={self.order_type}, status={self.status})')