Skip to content

Add mybot demo with enhanced prediction engine and realtime data#256

Open
NguyenThong251 wants to merge 2 commits intoshiyu-coder:masterfrom
NguyenThong251:master
Open

Add mybot demo with enhanced prediction engine and realtime data#256
NguyenThong251 wants to merge 2 commits intoshiyu-coder:masterfrom
NguyenThong251:master

Conversation

@NguyenThong251
Copy link
Copy Markdown

No description provided.

Introduce an optional mybot package providing a live Binance OHLCV -> Kronos pipeline: prediction utils (mybot/prediction.py), a FastAPI server (mybot/server.py), a CLI demo (mybot/cli_demo.py), and a Vite+React web UI under mybot/web. Update README with usage and instructions for running the API and frontend. Also: adjust examples/prediction_example.py to use pathlib and a repo-relative import, add node_modules to .gitignore, add mybot/requirements-server.txt, and fix calc_time_stamps handling of pd.DatetimeIndex in model/kronos.py. These changes wire up an optional demo stack while keeping the core model code intact.
Introduce a new enhanced prediction pipeline and realtime data aggregator: add mybot/prediction_engine.py (technical-indicator ensemble, Monte Carlo confidence intervals, market regime detection, realtime injection) and mybot/realtime_data.py (news/sentiment, fear/greed, on-chain, caching). Integrate them into mybot/prediction.py with graceful degradation when optional deps are missing and return enriched result fields; update mybot/server.py to accept and forward new prediction options (use_ensemble, use_confidence, n_confidence_samples, use_realtime, realtime_limit, hf_model). Update frontend (mybot/web/src/App.tsx) and requirements.txt to support the new features, and add several local .omc state files. These changes enable optional ensemble-driven, sentiment-aware forecasts while preserving backward compatibility with the original predictor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant