# Tests and research/ — everything beyond the core runtime. # # .venv/bin/pip install -r requirements.txt -r requirements-dev.txt # .venv/bin/python -m pytest chanlun/tests web/tests -r requirements.txt # --- tests ----------------------------------------------------------------- pytest>=8.0 # --- research/ ------------------------------------------------------------- # pyarrow reads the data/binance/*.feather klines (research/lib/data.py) and # writes the parquet cache. Needed for research/, not by the web app. pyarrow>=15.0 # Only research/step10_direct_return_label.py and step11_breakout_follow.py. # Neither is installed by default; skip this pair unless running those steps. scikit-learn>=1.4 lightgbm>=4.3 # --- indicator parity check (optional) ------------------------------------- # chanlun/indicators/ta.py replaced TA-Lib and technical, so nothing here needs # them at runtime. chanlun/tests/test_ta_compat.py pins our output against # TA-Lib bar for bar and SKIPS SILENTLY when they are absent — meaning a change # to ta.py can look tested when it was not. Install these and re-run that file # whenever ta.py changes. # # TA-Lib needs the C library first: # sudo apt-get install -y libta-lib0 ta-lib-dev # # TA-Lib>=0.6 # technical>=1.7