freqtrade_origin/freqtrade/rpc/api_server/webserver_bgwork.py
2023-05-21 09:38:14 +02:00

20 lines
449 B
Python

from typing import Any, Dict
class ApiBG():
# Backtesting type: Backtesting
bt: Dict[str, Any] = {
'bt': None,
'data': None,
'timerange': None,
'last_config': {},
'bt_error': None,
}
bgtask_running: bool = False
# Exchange - only available in webserver mode.
exchange = None
# Pairlist evaluate things
pairlist_running: bool = False
pairlist_result: Dict[str, Any] = {}