Freqtrade 加密回测
Freqtrade 加密回测:使用 Freqtrade 框架加载多交易所 OHLCV 历史数据并进行策略回测分析。 含 25 条反模式约束。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
77 条不可违反的约束
WHENWhen implementing OHLCV data loading and storage
ACTIONUse exactly 6 columns in DEFAULT_DATAFRAME_COLUMNS order: date, open, high, low, close, volume
CONSEQUENCEDownstream components expect specific column positions; wrong column order causes indicator calculations to fail and produces incorrect trading signals
WHENWhen loading OHLCV data with load_data or DataProvider.get_pair_dataframe
ACTIONReturn DataFrames with exactly the same column structure during both live and backtest modes
CONSEQUENCEStrategies that expect consistent OHLCV structure will fail silently or produce incorrect signals when column order differs between execution modes, causing live trading losses
WHENWhen configuring startup_candle_count for a strategy
ACTIONSet startup_candle_count higher than 5x the exchange's ohlcv_candle_limit
CONSEQUENCEStrategy startup validation throws ConfigurationError when required startup candles exceed 5x candle limit, preventing backtesting and live trading
常见问题
讨论 (0)
暂无讨论,成为第一个发言的人吧!
更新历史
v0.1.0: 首次发布到 Doramagic.ai。基于 zvtvz/zvt 的自动化 batch-v1 元数据 + 自动生成 FAQ。