added is_short and short_trades to schema

This commit is contained in:
aezo.teo 2021-11-14 16:51:03 +08:00
parent 8f66d8f942
commit 30fbe0c79c

View File

@ -95,6 +95,7 @@ class Profit(BaseModel):
avg_duration: str
best_pair: str
best_rate: float
short_trades: int
winning_trades: int
losing_trades: int
@ -154,6 +155,7 @@ class TradeSchema(BaseModel):
trade_id: int
pair: str
is_open: bool
is_short: bool
exchange: str
amount: float
amount_requested: float