added is_short and short_trades to schema
This commit is contained in:
parent
8f66d8f942
commit
30fbe0c79c
@ -95,6 +95,7 @@ class Profit(BaseModel):
|
|||||||
avg_duration: str
|
avg_duration: str
|
||||||
best_pair: str
|
best_pair: str
|
||||||
best_rate: float
|
best_rate: float
|
||||||
|
short_trades: int
|
||||||
winning_trades: int
|
winning_trades: int
|
||||||
losing_trades: int
|
losing_trades: int
|
||||||
|
|
||||||
@ -154,6 +155,7 @@ class TradeSchema(BaseModel):
|
|||||||
trade_id: int
|
trade_id: int
|
||||||
pair: str
|
pair: str
|
||||||
is_open: bool
|
is_open: bool
|
||||||
|
is_short: bool
|
||||||
exchange: str
|
exchange: str
|
||||||
amount: float
|
amount: float
|
||||||
amount_requested: float
|
amount_requested: float
|
||||||
|
Loading…
Reference in New Issue
Block a user