forked from kodorvan/stcs
Fixed
This commit is contained in:
@@ -166,7 +166,6 @@ class UserDeals(Base):
|
||||
switch_side_mode = Column(Boolean, nullable=True)
|
||||
limit_price = Column(Float, nullable=True)
|
||||
trigger_price = Column(Float, nullable=True)
|
||||
fee = Column(Float, nullable=True)
|
||||
|
||||
user = relationship("User", back_populates="user_deals")
|
||||
|
||||
@@ -185,9 +184,7 @@ class UserAutoTrading(Base):
|
||||
nullable=False)
|
||||
symbol = Column(String, nullable=True)
|
||||
auto_trading = Column(Boolean, nullable=True)
|
||||
side = Column(String, nullable=True)
|
||||
fee = Column(Float, nullable=True)
|
||||
|
||||
user = relationship("User", back_populates="user_auto_trading")
|
||||
|
||||
__table_args__ = (
|
||||
UniqueConstraint('user_id', 'symbol', name='uq_user_auto_trading_symbol'),
|
||||
)
|
||||
user = relationship("User", back_populates="user_auto_trading")
|
Reference in New Issue
Block a user