π€ Interested in algorithmic trading, AI systems, and backend engineering
π Currently building crypto futures simulation & AI quant trading platforms
π Deploying real systems β not just notebooks
π From Indonesia
AI quant trading platform Β· Backtesting Β· Multi-agent LLM Β· 10+ exchange support Β· Docker + Vue.js
Automated trading bot Β· Real-time market data Β· Signal execution pipeline
Futures price prediction Β· ML models Β· Feature engineering
AgriTwin π±
AI greenhouse digital twin platform β production-grade evolution from 17K-line Streamlit monolith
π AgriTwin Details β click to expand
AgriTwin is a full-stack AI-powered digital twin platform for greenhouse management, evolved from a single-file Streamlit prototype (tumbal.py, 15,600+ lines) into a distributed three-tier architecture through a structured 5-phase migration β with zero downtime.
| Layer | Technology | Notes |
|---|---|---|
| Frontend | Next.js 15, React 19, Tailwind CSS | Dark-mode dashboard, mobile-responsive |
| Backend | FastAPI (Python), async, WebSocket | 9 REST endpoints + 1 WebSocket |
| Database | Supabase (PostgreSQL + Realtime) | 7 tables, dual-write with SQLite fallback |
| IoT | HiveMQ Cloud (MQTT TLS) | ESP32 β cloud β dashboard in <2s |
| Weather | Open-Meteo (free, no API key) | Current + 16-day forecast + 7-day history |
| AI | Gemini 2.0 Flash + RAG | 10 Indonesian agronomy documents as knowledge base |
| Monitoring | Sentry + PostHog | Error tracking + product analytics |
| Deploy | Vercel (FE) + Railway (BE) + Docker | CI/CD via GitHub Actions |
- π‘οΈ Real-time IoT sensor monitoring β temperature, humidity, CO2, soil moisture, pH, EC
- π¦οΈ Live weather integration β Open-Meteo primary, OpenWeatherMap fallback, physics-based simulation as last resort
- π€ AI Agronomist β multi-LLM (Gemini/Groq/Ollama) with RAG context injection from local agronomy knowledge base
- πΈ Plant Doctor β disease detection from photos via Gemini Vision
- π¨ Alert Engine β 9 threshold rules, auto-evaluation, Telegram notifications
- π° Market prices β 23 Indonesian crops, sourced from PIHPS BI / World Bank / BPS
- ποΈ 3D terrain visualization β real SRTM DEM from AWS Terrarium tiles + hypsometric colorscale
- 𧬠Genetic optimizer β NSGA-II multi-objective setpoint optimization
- π Economics engine β full P&L, ROI, payback period, carbon credit MRV
- π Dual-write persistence β SQLite local + Supabase cloud (graceful degradation)
GET /api/health β service status (Supabase, MQTT, weather)
GET /api/weather/{lat}/{lon} β current weather + forecast
POST /api/sensors/ingest β receive ESP32/client sensor data
GET /api/sensors/{zone_id} β sensor history
GET /api/alerts β active alerts
POST /api/alerts/{id}/acknowledge
GET /api/market/prices β commodity prices (23 crops)
POST /api/ai/query β AI agronomist (Gemini + RAG)
WS /ws/zones/{zone_id}/live β real-time sensor WebSocket
| Phase | Scope | Status |
|---|---|---|
| 0 | Security β .env, dotenv, Sentry, .gitignore |
β |
| 1 | Data Layer β Open-Meteo, Supabase, market prices | β |
| 2 | IoT Real β HiveMQ MQTT, alert engine, ESP32 spec | β |
| 3 | Backend Split β FastAPI + Next.js + Streamlit legacy | β |
| 4 | Production β Docker, CI/CD, RAG, deploy configs | β |
Python FastAPI Next.js React TypeScript Tailwind CSS PostgreSQL Supabase Redis MQTT HiveMQ Docker Sentry PostHog Gemini API WebSocket GitHub Actions
β‘ Markets are data problems. Solve them with code.