# --- Do not remove these libs --- """ ARCHIVED — LPS 研究分支已冻结,禁止用于 dry-run / 生产。 见: user_data/Chan/research/SYSTEM_STATUS.md user_data/Chan/research/lps_v1_failed/REJECT.md user_data/Chan/research/lps_v1_1_failed/REJECT.md user_data/Chan/research/lps_v2_failed/REJECT.md user_data/Chan/research/lps_v2_failed/Wyckoff_BTC_LPS_V2.py Baseline: Wyckoff_BTC_V1_BASELINE(Spring-only) """ from freqtrade.strategy import IStrategy from pandas import DataFrame class Wyckoff_BTC_LPS(IStrategy): """Stub: LPS archived. Use Wyckoff_BTC_V1_BASELINE.""" INTERFACE_VERSION = 3 STRATEGY_VERSION = "ARCHIVED" timeframe = "1h" can_short = True startup_candle_count = 20 minimal_roi = {"0": 1} stoploss = -0.99 def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: raise RuntimeError( "LPS research archived (V1/V1.1/V2 all REJECTED). " "Use Wyckoff_BTC_V1_BASELINE. See user_data/Chan/research/" ) def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe["enter_long"] = 0 dataframe["enter_short"] = 0 return dataframe def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe["exit_long"] = 0 dataframe["exit_short"] = 0 return dataframe