mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-11 02:33:55 +00:00
29 lines
412 B
Python
29 lines
412 B
Python
from typing import List
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class Ping(BaseModel):
|
|
status: str
|
|
|
|
|
|
class Version(BaseModel):
|
|
version: str
|
|
|
|
|
|
class Balance(BaseModel):
|
|
currency: str
|
|
free: float
|
|
balance: float
|
|
used: float
|
|
est_stake: float
|
|
stake: str
|
|
|
|
|
|
class Balances(BaseModel):
|
|
currencies: List[Balance]
|
|
total: float
|
|
symbol: str
|
|
value: float
|
|
stake: str
|
|
note: str
|