Real-time Reflexivity Score powered by Chainlink, AWS, and Soros' Reflexivity Theory
Track leverage cycles, market volatility, and systemic risk using decentralized data and transparent on-chain publishing.
| Category | Technology |
|---|---|
| Real-time Data Feed | Chainlink Data Streams (Go SDK) |
| Data Storage | SQLite (Lightweight DB) |
| API & Processing | Python FastAPI |
| On-Chain Integration | Chainlink Functions |
| Smart Contracts | EVM-Compatible Blockchain |
| Infrastructure | Docker, AWS EC2 |
✅ Real-time decentralized market data ingestion
✅ Computes Reflexivity Score based on Momentum, Volatility, and Open Interest Growth
✅ Transparent on-chain publishing with Chainlink Functions
✅ Secure, scalable deployment with Docker and AWS
✅ Modular architecture for easy expansion
More about solution : Documentation
Prerequisites:
- Docker installed
Steps to Run:
git clone <your-repo-url>
cd <your-repo-directory>
docker compose up --buildAPI will be available at: http://localhost:8000
| Method | Endpoint | Description |
|---|---|---|
GET |
/streamrecords |
Fetch raw market data from SQLite |
GET |
/reflexivity |
Compute Reflexivity Score (requires stream_id query param) |
Example:
curl "http://localhost:8000/reflexivity?stream_id=123"Based on George Soros' Theory of Reflexivity:
Markets exhibit feedback loops where perceptions influence fundamentals, amplifying volatility and leverage cycles.
| Reflexivity Score | Market Interpretation |
|---|---|
| High | Elevated leverage, instability risk |
| Low | Market stability, conservative phase |
⚠️ For Hackathon: Add demo video link or screenshots here if available.
Example:
- ☁️ Migrate to PostgreSQL/DynamoDB for scalable storage
- 📊 Advanced dashboards & real-time visualizations
- 🔗 Integrate multiple exchanges for broader market coverage
- 🤖 ML-based dynamic indicator weighting
- 💡 Full automation of smart contract trading logic
PRs and feedback welcome! For major changes, please open an issue first to discuss.
This project is licensed under MIT - see the LICENSE file for details.

