Add mybot demo with enhanced prediction engine and realtime data#256
Open
NguyenThong251 wants to merge 2 commits intoshiyu-coder:masterfrom
Open
Add mybot demo with enhanced prediction engine and realtime data#256NguyenThong251 wants to merge 2 commits intoshiyu-coder:masterfrom
NguyenThong251 wants to merge 2 commits intoshiyu-coder:masterfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.