How manvendra8511/crowdwisdomtrading-x-sentiment-price-prediction-agent works
CrowdWisdomTrading combines two user-facing products: a reproducible price-forecast research pipeline and a REST sentiment-analysis service. The pipeline accepts demo, imported, or live market/social/news data, normalizes and joins it, builds features, evaluates and fits forecasts, then emits reports and audit artifacts. The API analyzes individual or batched text and exposes history. Edges are grounded in the README and SOURCE INDEX references; unsampled implementation details are not inferred beyond those references.
Main entry points: pipeline.py Run orchestrator · routes.py REST endpoints · analyzer.py Sentiment orchestrator · providers.py Live providers
Components 18
Forecast inputs
- Synthetic data
src/forecasting/demo.py - Live providers
src/forecasting/providers.py - Data normalization
src/forecasting/data.py
Forecast engine
- Run orchestrator
src/forecasting/pipeline.py - Feature engineering
src/forecasting/features.py - Forecast and validation
src/forecasting/model.py
Sentiment API
- REST endpoints
src/api/routes.py - Sentiment orchestrator
src/core/sentiment/analyzer.py - Rule scorer
src/core/sentiment/rule_based.py - ML scorer
src/core/sentiment/ml_model.py - Configuration
src/core/utils/config.py
Persistence and outputs
- Run snapshot store
src/forecasting/storage.py - Reports and charts
src/forecasting/reporting.py - Sentiment repository
src/storage/repository.py
Other components
- Researcher
- API client
- Apify
- Tavily
Connections 20
- Researcher → Run orchestrator: runs
README.md - Run orchestrator → Synthetic data: loads demo
src/forecasting/pipeline.py - Run orchestrator → Live providers: fetches live data
README.md - Live providers → Apify: requests X and prices
README.md - Live providers → Tavily: searches news
README.md - Run orchestrator → Data normalization: normalizes records
src/forecasting/pipeline.py - Run orchestrator → Feature engineering: builds features
src/forecasting/pipeline.py - Run orchestrator → Run snapshot store: stores run data
src/forecasting/pipeline.py - Run snapshot store → Data normalization: uses JSON encoding
src/forecasting/storage.py - Run orchestrator → Forecast and validation: evaluates and predicts
src/forecasting/pipeline.py - Forecast and validation → Feature engineering: uses feature schema
src/forecasting/model.py - Run orchestrator → Reports and charts: writes reports
src/forecasting/pipeline.py - API client → REST endpoints: requests analysis
README.md - REST endpoints → Sentiment orchestrator: analyzes text
src/api/routes.py - Sentiment orchestrator → Rule scorer: scores with rules
src/core/sentiment/analyzer.py - Sentiment orchestrator → ML scorer: scores with ML
src/core/sentiment/analyzer.py - REST endpoints → Sentiment repository: reads and stores history
src/api/routes.py - Sentiment orchestrator → Sentiment repository: uses persistence
src/core/sentiment/analyzer.py - REST endpoints → Configuration: loads settings
src/api/routes.py - Run orchestrator → Rule scorer: scores post sentiment
src/forecasting/pipeline.py