
Two-phase quantitative system | Binance · 13 assets · 2017–2025 Phase 1 proved the problem empirically. Phase 2 builds the solution.
Rushisagar221/dalal-street-financial-llm — Fine-tuned Llama-3.2-3B for Indian equity analysis. Citation rate 0% → 100%.← Master README · ← Phase 1 Phase 1 showed volatility forecasting alone cannot generate alpha without knowing what regime the market is in. Phase 2 builds the regime detection system and a PPO meta-model that allocates capital based on detected regime. Status: live paper trading on Binance viarun_paper_trading.py
PPO holdout context: BTC-only holdout Sortino −0.6887. Equal-weight −0.7295. PPO lost less than both benchmarks in a down market.
aggregate_to_daily.py → engineer_features.py → select_features.pygenerate_regime_labels.pytrain_vol_regime.py · train_trend_regime.py · train_cross_regime.pytrain_ppo_agent.py · run_paper_trading.pyconfigs/paper.yaml): Binance testnet · weekly rebalancing · real-time regime detection · risk limits enforced · all trades loggedppo_agent_best.zip is the step 80,000 checkpoint. All evaluation results use this checkpoint, not the final checkpoint.torch_geometric unavailable in environment. Read GraphSAGE paper, implemented mean aggregation via batched matrix multiplication. Mathematically equivalent to GraphSAGE mean variant. GNN achieved 93.17% test accuracy on the approximation.schema/crypto_phase2.yaml Master spec schema/phase_2_structure.md Pipeline structure schema/regime_labeling.yaml HMM spec schema/regime_models.yaml LSTM + GNN spec schema/ppo_meta_model.yaml PPO spec schema/features.yaml Feature definitions schema/risk.yaml Risk management rules docs/decision.md Architecture decisions logreports/vol_regime_accuracy.md Vol LSTM — all splits, confusion matrices reports/trend_regime_accuracy.md Trend LSTM — non-stationarity analysis reports/cross_regime_accuracy.md GNN — distribution shift analysis reports/ppo_agent_performance.md PPO — policy collapse historyRushisagar221/dalal-street-financial-llm — Fine-tuned Llama-3.2-3B for Indian equity analysis. Citation rate 0% → 100%.Posted Apr 27, 2026
11.1M-row Binance pipeline, 28 features, LSTM regime classifier, GNN cross-sectional model, PPO allocation agent. Paper trading on Binance.
0
0
Jan 1, 2017 - Jan 1, 2025
Binance