Remove legacy LSTM retraining
This commit is contained in:
+16
-1
@@ -2,7 +2,7 @@ from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
||||
from crypto_spot_bot.config import load_settings
|
||||
from crypto_spot_bot.config import FIXED_SPOT_SYMBOLS, load_settings
|
||||
|
||||
|
||||
def test_live_mode_requires_explicit_unlock(tmp_path, monkeypatch) -> None:
|
||||
@@ -61,3 +61,18 @@ def test_llm_advisor_is_disabled_by_default(tmp_path, monkeypatch) -> None:
|
||||
settings = load_settings(env_file)
|
||||
|
||||
assert settings.llm_advisor_enabled is False
|
||||
|
||||
|
||||
def test_default_symbols_are_fixed_six_pairs(tmp_path, monkeypatch) -> None:
|
||||
monkeypatch.delenv("AUTO_SELECT_SYMBOLS", raising=False)
|
||||
monkeypatch.delenv("TOP_SYMBOLS_COUNT", raising=False)
|
||||
monkeypatch.delenv("SYMBOLS", raising=False)
|
||||
monkeypatch.setenv("TRADING_MODE", "paper")
|
||||
env_file = tmp_path / ".env"
|
||||
env_file.write_text("TRADING_MODE=paper\nSYMBOLS=\n", encoding="utf-8")
|
||||
|
||||
settings = load_settings(env_file)
|
||||
|
||||
assert settings.auto_select_symbols is False
|
||||
assert settings.top_symbols_count == 6
|
||||
assert settings.symbols == FIXED_SPOT_SYMBOLS
|
||||
|
||||
Reference in New Issue
Block a user