Allow backtesting to reuse data

Allow activating / deactivating protections dynamically
This commit is contained in:
Matthias
2021-01-06 15:05:54 +01:00
parent edb8c4f0e5
commit f96d7dfe6d
3 changed files with 50 additions and 14 deletions

View File

@@ -321,6 +321,7 @@ class BacktestRequest(BaseModel):
timerange: Optional[str]
max_open_trades: Optional[int]
stake_amount: Optional[int]
enable_protections: bool
class BacktestResponse(BaseModel):