Add endpoint for freqAI models

This commit is contained in:
Matthias
2022-12-20 07:21:52 +01:00
parent 3012c55ec5
commit 5dbd5c235a
2 changed files with 24 additions and 7 deletions

View File

@@ -372,6 +372,10 @@ class StrategyListResponse(BaseModel):
strategies: List[str]
class FreqAIModelListResponse(BaseModel):
freqaimodels: List[str]
class StrategyResponse(BaseModel):
strategy: str
code: str
@@ -419,6 +423,7 @@ class BacktestRequest(BaseModel):
stake_amount: Optional[str]
enable_protections: bool
dry_run_wallet: Optional[float]
freqaimodel: Optional[str]
class BacktestResponse(BaseModel):