mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-17 13:21:15 +00:00
25 lines
616 B
Python
25 lines
616 B
Python
import logging
|
|
from typing import Any
|
|
|
|
from freqtrade.enums import RunMode
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
def start_analysis_entries_exits(args: dict[str, Any]) -> None:
|
|
"""
|
|
Start analysis script
|
|
:param args: Cli args from Arguments()
|
|
:return: None
|
|
"""
|
|
from freqtrade.configuration import setup_utils_configuration
|
|
from freqtrade.data.entryexitanalysis import process_entry_exit_reasons
|
|
|
|
# Initialize configuration
|
|
config = setup_utils_configuration(args, RunMode.BACKTEST)
|
|
|
|
logger.info("Starting freqtrade in analysis mode")
|
|
|
|
process_entry_exit_reasons(config)
|