mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Add BacktestMetadataType
This commit is contained in:
parent
f546ee6569
commit
5c68b0d38e
|
@ -1,3 +1,5 @@
|
|||
# flake8: noqa: F401
|
||||
from freqtrade.types.backtest_result_type import BacktestResultType, get_BacktestResultType_default
|
||||
from freqtrade.types.backtest_result_type import (BacktestHistoryEntryType, BacktestMetadataType,
|
||||
BacktestResultType,
|
||||
get_BacktestResultType_default)
|
||||
from freqtrade.types.valid_exchanges_type import ValidExchangesType
|
||||
|
|
|
@ -3,8 +3,13 @@ from typing import Any, Dict, List
|
|||
from typing_extensions import TypedDict
|
||||
|
||||
|
||||
class BacktestMetadataType(TypedDict):
|
||||
run_id: str
|
||||
backtest_start_time: int
|
||||
|
||||
|
||||
class BacktestResultType(TypedDict):
|
||||
metadata: Dict[str, Any]
|
||||
metadata: Dict[str, Any] # BacktestMetadataType
|
||||
strategy: Dict[str, Any]
|
||||
strategy_comparison: List[Any]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user