freqtrade_origin/freqtrade/rpc/api_server/webserver_bgwork.py

17 lines
342 B
Python
Raw Normal View History

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