MCPcopy Create free account

hub / github.com/AgriQuantAI/AgriQuant-AI / functions

Functions214 in github.com/AgriQuantAI/AgriQuant-AI

↓ 1 callersMethodget_orng_quote
Get quote for swapping USDC to $AGQNT via Uniswap Args: usdc_amount: Amount of USDC to swap
crypto_fundraise.py:54
↓ 1 callersMethodget_prediction_performance
Calculate overall prediction performance metrics
database.py:302
↓ 1 callersMethodget_recent_predictions
Get predictions from last N days
database.py:366
↓ 1 callersMethodget_sentinel2_ndvi
Fetch Sentinel-2 NDVI via Sentinel Hub API. 10m resolution, 5-day revisit. Best for field-level analysis.
satellite_ndvi_processor.py:60
↓ 1 callersMethodget_smap_soil_moisture
NASA SMAP (Soil Moisture Active Passive) soil moisture. Critical for drought detection 2-4 weeks before visible crop stress.
satellite_ndvi_processor.py:173
↓ 1 callersMethodget_token_holders
Fetch all $AGQNT token holders and their balances Returns: List of {address: str, balance: int, percentage: floa
investor_distribution.py:57
↓ 1 callersMethodinitialize
Initialize system components
main.py:43
↓ 1 callersMethodload_historical_events
Load all historical freeze/hurricane events in date range
backtest.py:46
↓ 1 callersFunctionmain
Test database operations
database.py:507
↓ 1 callersFunctionmain
Test the Claude analysis engine
claude_engine.py:490
↓ 1 callersFunctionmain
Run backtest from command line
backtest.py:404
↓ 1 callersFunctionmain
Main entry point
main.py:371
↓ 1 callersMethodprocess_sentinel2_scene
Process complete Sentinel-2 scene for grove health Args: red_band: Red band data (Band 4) nir_band:
satellite_data_processor.py:165
↓ 1 callersMethodrecord_trade
Record a trade in the history Args: prediction_id: Link to weather prediction entry_date: Trade entr
performance_tracker.py:34
↓ 1 callersMethodrun
Full ENSO monitoring cycle
el_nino_monitor.py:148
↓ 1 callersMethodrun_backtest
Execute full backtest
backtest.py:209
↓ 1 callersMethodrun_continuous_monitoring
Run continuous monitoring on schedule
main.py:338
↓ 1 callersMethodsave_model
Save model and normalization parameters
lstm_predictor.py:381
↓ 1 callersMethodsave_models
Save trained models to disk
ensemble_predictor.py:357
↓ 1 callersMethodsave_results
Save backtest results to JSON file
backtest.py:392
↓ 1 callersMethodsimulate_forecast
Simulate what the forecast would have looked like N days before event In production, would use archived NOAA forecasts
backtest.py:64
↓ 1 callersMethodstore_ai_prediction
Store AI-generated prediction
database.py:209
↓ 1 callersMethodstore_weather_forecast
Store weather forecast
database.py:187
↓ 1 callersMethodtrain
Train the LSTM model Args: train_data: Training dataset val_data: Validation dataset epo
lstm_predictor.py:213
↓ 1 callersMethodupdate_quote
Record new quote
microstructure_analyzer.py:46
↓ 1 callersMethodupdate_trade
Record new trade
microstructure_analyzer.py:31
↓ 1 callersMethodvalidate_prediction_quality
Meta-analysis: Have Claude validate its own prediction quality
claude_engine.py:340
↓ 1 callersMethodverify_prediction
Verify a prediction against actual USDA report
database.py:266
↓ 1 callersMethodverify_predictions
Check if any predictions can now be verified against USDA data This would run daily to check for new USDA reports
main.py:261
↓ 1 callersMethodweather_price_correlation
Analyze correlation between weather variables and OJ returns Args: temperature: Daily temperature series
correlation_analyzer.py:51
Method__getitem__
(self, idx)
lstm_predictor.py:36
Method__init__
(self, connection_string: str = None)
database.py:22
Method__init__
(self)
volatility_forecaster.py:27
Method__init__
(self)
risk_analyzer.py:58
Method__init__
(self)
risk_analyzer.py:143
Method__init__
(self)
icco_usda_scraper.py:48
Method__init__
(self)
claude_engine.py:22
Method__init__
(self, rpc_url: str = "https://api.mainnet-beta.base.com")
investor_distribution.py:33
Method__init__
(self)
multi_commodity_engine.py:43
Method__init__
(self)
grains_collector.py:85
Method__init__
( self, input_size: int = 50, hidden_size: int = 128, num_layers: int = 3,
lstm_predictor.py:46
Method__init__
( self, sequence_length: int = 30, input_features: int = 50, model_path: str =
lstm_predictor.py:121
Method__init__
(self)
satellite_data_processor.py:41
Method__init__
(self)
satellite_data_processor.py:362
Method__init__
(self, lookback_days: int = 252)
correlation_analyzer.py:26
Method__init__
(self, database_path: str = "trading_history.json")
performance_tracker.py:22
Method__init__
(self)
coffee_brazil_collector.py:91
Method__init__
(self, models_path: str = "models/")
ensemble_predictor.py:26
Method__init__
(self, lookback_window: int = 100)
microstructure_analyzer.py:26
Method__init__
(self)
el_nino_monitor.py:58
Method__init__
(self, rpc_url: str = "https://api.mainnet-beta.base.com")
crypto_fundraise.py:30
Method__init__
(self)
sugar_collector.py:54
Method__init__
(self)
market_impact_analyzer.py:42
Method__init__
(self)
cocoa_westafrica_collector.py:89
Method__init__
(self, planet_api_key: Optional[str] = None)
satellite_ndvi_processor.py:54
Method__init__
(self, start_date: str, end_date: str)
backtest.py:26
Method__init__
(self)
main.py:32
Method__len__
(self)
lstm_predictor.py:33
Methodanalyze_disease_pressure
Analyze weather patterns for crop disease disease pressure Based on Li et al. (2020) research on psyllid population dynamics
claude_engine.py:275
Methodanalyze_volume_profile
Create volume profile analysis (Volume-at-Price) Args: price_bins: Number of price levels to analyze
microstructure_analyzer.py:231
Methodanalyze_weather_event
Generalized weather event analysis for any commodity/region. Wraps commodity-specific methods (analyze_freeze_event, analyze_
claude_engine.py:27
Methodassess_disease_risk
Assess crop disease disease risk Asian citrus psyllid (disease vector) thrives in: - Warm temps (75-85°F) -
risk_analyzer.py:377
Methodassess_hurricane_risk
Assess crop damage from hurricane Factors: - Wind damage (fruit drop, tree damage) - Flooding risk -
risk_analyzer.py:270
Methodassess_revision_impact
Assess price impact of a supply revision. Larger revisions in tighter markets = larger price moves.
icco_usda_scraper.py:148
Methodcalculate_beta
Calculate beta (systematic risk) of OJ vs broader market Args: asset_returns: OJ returns market_retu
correlation_analyzer.py:201
Functioncalculate_supply_demand_balance
Calculate overall supply/demand balance Returns market tightness indicators
market_impact_analyzer.py:292
Methodcalculate_temperature_anomaly
Calculate temperature anomaly from thermal infrared Used to detect heat/cold stress
satellite_data_processor.py:149
Methodcalculate_trading_signal
Convert price prediction into trading signal Args: prediction: Output from predict_price_movement()
ensemble_predictor.py:290
Methodcalculate_volatility_adjustment
Calculate market volatility to adjust confidence High volatility → lower confidence in predictions
market_impact_analyzer.py:191
Methodcollect_all_regions
Collect all US grain region data
grains_collector.py:225
Methodcollect_all_regions
Collect weather data for all Brazilian coffee regions. Called every 15 minutes by main orchestrator.
coffee_brazil_collector.py:254
Methodcollect_all_regions
Collect all West Africa cocoa region data
cocoa_westafrica_collector.py:251
Methodcross_commodity_correlation
Analyze correlations with related soft commodities Args: oj_prices: ag commodity futures prices suga
correlation_analyzer.py:106
Methoddetect_aggressive_flow
Detect unusually aggressive buying or selling Args: sensitivity: Standard deviations for threshold
microstructure_analyzer.py:306
Methoddetect_freeze_damage
Detect freeze damage by comparing pre/post imagery Args: pre_freeze_ndvi: NDVI before freeze post_fr
satellite_data_processor.py:241
Methoddetect_stress_areas
Identify areas with significant vegetation stress Compares current NDVI to historical baseline Returns:
satellite_data_processor.py:118
Methoddownload_planet_labs
Download Planet Labs daily imagery Requires subscription (~$500/month)
satellite_data_processor.py:384
Methoddownload_sentinel2
Download Sentinel-2 imagery Args: bbox: Bounding box (min_lon, min_lat, max_lon, max_lat) date_range
satellite_data_processor.py:366
Methodestimate_timeline_to_peak
Estimate days until price impact peaks Different events have different timelines: - Freeze: 3-7 days (quick reaction
market_impact_analyzer.py:214
Methodexport_for_audit
Export all trades in CSV format for CPA audit
performance_tracker.py:239
Methodexport_health_map
Export NDVI as color-coded health map For visualization and reporting
satellite_data_processor.py:330
Methodforward
(self, x)
lstm_predictor.py:89
Methodgarch_11_likelihood
Negative log-likelihood for GARCH(1,1) estimation Args: params: [omega, alpha, beta] returns: Return
volatility_forecaster.py:94
Methodgenerate_comprehensive_analysis
Generate complete multi-factor analysis Checks for freeze, hurricane, disease, drought simultaneously
claude_engine.py:408
Methodgenerate_time_series
Generate time series of grove health metrics For trend analysis and anomaly detection
satellite_data_processor.py:291
Functionget_airdrop_history
Get USDT airdrop distribution history
dashboard_api.py:134
Functionget_buyback_history
Get token buyback history
dashboard_api.py:151
Methodget_correlation_report
Generate cross-commodity correlation report for dashboard. Returns the full matrix + highest/lowest pairs.
multi_commodity_engine.py:242
Methodget_feature_importance
Estimate feature importance using gradient analysis Returns: Feature importance scores
lstm_predictor.py:405
Methodget_holder_history
Get airdrop history for a specific holder Args: wallet_address: Base wallet address Returns
investor_distribution.py:212
Methodget_monthly_summary
Get summary of buybacks for a specific month Args: year: Year (e.g., 2026) month: Month (1-12)
crypto_fundraise.py:148
Methodget_open_positions
Get all currently open positions
performance_tracker.py:235
Functionget_overall_stats
Get overall platform statistics
dashboard_api.py:57
Methodget_performance_over_time
Get performance trend over time
database.py:430
Methodget_price_history
Get historical price data
database.py:403
Functionget_recent_predictions
Get recent weather predictions
dashboard_api.py:88
Functionget_token_supply
Get current token supply data
dashboard_api.py:121
Functionget_trading_performance
Get trading performance metrics
dashboard_api.py:106
Functionhealth_check
System health check
dashboard_api.py:42
Methodload_model
Load pre-trained model
lstm_predictor.py:394
← previousnext →101–200 of 214, ranked by callers