Add Post endpoint for to filter dataframe by columns

This commit is contained in:
Matthias
2024-04-28 10:30:27 +02:00
parent cabdfabf03
commit 54d467d2bf
3 changed files with 46 additions and 17 deletions

View File

@@ -489,12 +489,20 @@ class AvailablePairs(BaseModel):
pair_interval: List[List[str]]
class PairHistoryRequest(BaseModel):
pair: str
timeframe: str
limit: Optional[int] = None
columns: Optional[List[str]] = None
class PairHistory(BaseModel):
strategy: str
pair: str
timeframe: str
timeframe_ms: int
columns: List[str]
selected_columns: List[str] = []
data: SerializeAsAny[List[Any]]
length: int
buy_signals: int