add precision values to api schema

This commit is contained in:
Matthias
2023-03-25 11:55:47 +01:00
parent 9c6a49436b
commit f7c1ee6d3e
2 changed files with 10 additions and 0 deletions

View File

@@ -276,6 +276,10 @@ class TradeSchema(BaseModel):
funding_fees: Optional[float]
trading_mode: Optional[TradingMode]
amount_precision: Optional[float]
price_precision: Optional[float]
precision_mode: Optional[int]
class OpenTradeSchema(TradeSchema):
stoploss_current_dist: Optional[float]