claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Finance & Trading

AgriQuant-AI

AI-powered weather intelligence for agricultural commodity futures. Predicts price moves 48-72 hours early across OJ, Coffee, Cocoa, Sugar, Corn and Wheat us…

Actively maintained
88/100
last commit about 1 month ago
last release none
releases 0
open issues 0
// install
git clone https://github.com/AgriQuantAI/AgriQuant-AI

AgriQuant AI

AI-driven weather intelligence for agricultural commodity futures.

AgriQuant AI analyzes satellite weather data and 40 years of price patterns to predict agricultural commodity moves 48–72 hours before traditional analysts react. Built on Claude Sonnet, NOAA real-time feeds, and a multi-spectral satellite pipeline covering six global markets.


Overview

AgriQuant AI monitors weather events across six agricultural commodity markets and generates probabilistic price impact signals before official USDA and agency reports are published.

The system processes NOAA weather forecasts, satellite imagery, and market data continuously, cross-referencing against a 40-year historical database of weather-driven commodity price moves.

Backtest Performance (2023–2025):

  • +223% total return (2.5x leveraged futures strategy)
  • 70% win rate across 23 trades
  • 2.6:1 win/loss ratio
  • 1.8 Sharpe ratio
  • -21% max drawdown

Markets Covered

CommodityTickerExchangeRegionPrimary Risk
Orange JuiceFCOJ-AICEFlorida, USAFreeze, hurricane, disease
Coffee (Arabica)KCICEMinas Gerais, BrazilFrost, drought
CocoaCCICEGhana / Ivory CoastDrought, Harmattan winds
Sugar #11SBICEBrazil / IndiaMonsoon, drought
CornZCCMEUS MidwestDrought, derecho, frost
WheatZWCMEGreat PlainsDrought, Black Sea risk

System Architecture

┌─────────────────────────────────────────────────────────────┐
│                       AgriQuant AI                          │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  ┌──────────────┐     ┌──────────────┐     ┌────────────┐ │
│  │   Weather    │────▶│    Claude    │────▶│ Database   │ │
│  │  Collector   │     │   Sonnet 4   │     │ PostgreSQL │ │
│  └──────────────┘     └──────────────┘     └────────────┘ │
│        │                     │                     │        │
│  ┌──────────────────────────────────────────────────────┐  │
│  │                 Main Orchestrator                    │  │
│  │  • 15-min monitoring cycle across 6 markets          │  │
│  │  • Prediction generation (8 ML models)               │  │
│  │  • Signal alerts with position sizing                │  │
│  │  • Performance tracking and validation               │  │
│  └──────────────────────────────────────────────────────┘  │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Data Sources:
├── NOAA National Weather Service (free, 15-min)
├── GOES-16 / GOES-18 Satellite Imagery
├── Sentinel-2 (ESA) Multispectral
├── MODIS Vegetation Indices (NDVI)
├── INMET Brazil Weather Stations
├── Ghana Meteorological Agency
├── CME / ICE Futures Tick Data
└── USDA Crop Reports

Key Modules

FileDescription
weather_collector.pyNOAA + satellite data ingestion across all 6 regions
claude_engine.pyClaude Sonnet AI analysis pipeline
ensemble_predictor.py4-model ML ensemble (RF, GB, Ridge, Lasso)
lstm_predictor.pyPyTorch LSTM with attention mechanism
backtest.pyHistorical backtesting engine (2023–2025)
config.pyAll system parameters + commodity configuration
correlation_analyzer.pyCross-commodity correlation and lead-lag analysis
satellite_data_processor.pyNDVI, thermal, moisture flux processing
risk_analyzer.pyPosition sizing, stop-loss, drawdown management
volatility_forecaster.pyGARCH volatility forecasting
market_impact_analyzer.pyPrice impact modeling
microstructure_analyzer.pyOrder flow and market microstructure
database.pyPostgreSQL data layer
dashboard_api.pyFastAPI transparency endpoints
main.pyMain orchestrator
demo.pyDemo mode with sample data

Signal Rules

LONG Signals:

  • NOAA freeze watch/warning in production zone
  • Hurricane forecast cone intersects commodity region
  • Sustained warm/wet conditions exceeding disease-outbreak thresholds
  • Drought index crossing critical threshold (coffee, cocoa, sugar)

SHORT Signals:

  • Freeze warning cancelled or storm diverts
  • Above-average rainfall ends drought
  • Crop condition upgrades in USDA weekly reports

Risk Management:

  • Max 5% portfolio per signal
  • 2% stop-loss per position
  • Max hold: 21 days
  • Average hold time: 4.7 days

Quick Start

# Install dependencies
pip install -r requirements.txt

# Set environment variables
export ANTHROPIC_API_KEY=your-key
export NOAA_API_KEY=your-key        # optional
export PLANET_API_KEY=your-key      # optional
export DATABASE_URL=postgresql://localhost/agriquant

# Run demo (no live data required)
python demo.py

# Run full system
python main.py

Backtesting

python backtest.py --start 2023-01-01 --end 2025-12-31 --leverage 2.5

Output includes equity curve, per-trade log, Sharpe ratio, max drawdown, and comparison vs. S&P 500 and buy-and-hold futures.


What Worked / What Didn't

What worked:

  • Freeze warnings with 48+ hour lead time: 75% win rate
  • Hurricane path divergence shorts: 85% win rate
  • Quick exits after weather event resolves

What didn't:

  • Trading preliminary model runs (>72 hours out): too early, too noisy
  • Holding through USDA report releases: usually priced in by then
  • Trading minor cold fronts (<28°F): insufficient crop impact

Disclaimer

Backtested performance uses historical data with 2.5x leverage. Assumes perfect fills, no slippage, and hindsight signal construction. Leverage amplifies both gains and losses. Past performance does not guarantee future results. This is not financial advice.


// compatibility

Platformsapi, web
Operating systems
AI compatibilityclaude
License
Pricingopen-source
LanguagePython

// faq

What is AgriQuant-AI?

AI-powered weather intelligence for agricultural commodity futures. Predicts price moves 48-72 hours early across OJ, Coffee, Cocoa, Sugar, Corn and Wheat using Claude Sonnet + satellite data. It is open-source on GitHub.

Is AgriQuant-AI free to use?

AgriQuant-AI is open-source, so it is free to use.

What category does AgriQuant-AI belong to?

AgriQuant-AI is listed under data in the Claudeers registry of Claude-compatible tools.

0 views
924 stars
unclaimed
updated 15 days ago

// embed badge

AgriQuant-AI on Claudeers
[![Claudeers](https://claudeers.com/api/badge/agriquant-ai.svg)](https://claudeers.com/agriquant-ai)

// retro hit counter

AgriQuant-AI hit counter
[![Hits](https://claudeers.com/api/counter/agriquant-ai.svg)](https://claudeers.com/agriquant-ai)

// reviews

// guestbook

0/500

// related in Finance & Trading

🔓

An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms

// financenextlevelbuilder/Python100,423MIT[ claude ]
🔓

TradingAgents: Multi-Agents LLM Financial Trading Framework

// financeTauricResearch/Python90,619Apache-2.0[ claude ]
🔓

"AI-Trader: 100% Fully-Automated Agent-Native Trading"

// financeHKUDS/Python20,389[ claude ]
🔓

"Vibe-Trading: Your Personal Trading Agent"

// financeHKUDS/Python17,979MIT[ claude ]
→ see how AgriQuant-AI connects across the ecosystem