mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 12:13:57 +00:00
17 lines
428 B
Python
17 lines
428 B
Python
from typing import Any, Dict
|
|
|
|
from freqtrade.enums import RunMode
|
|
|
|
|
|
def start_webserver(args: Dict[str, Any]) -> None:
|
|
"""
|
|
Main entry point for webserver mode
|
|
"""
|
|
from freqtrade.configuration import setup_utils_configuration
|
|
from freqtrade.rpc.api_server import ApiServer
|
|
|
|
# Initialize configuration
|
|
|
|
config = setup_utils_configuration(args, RunMode.WEBSERVER)
|
|
ApiServer(config, standalone=True)
|