# Crush Spread Strategy AI Agent Connect

> Analyze soybean processing margins and generate deterministic trading signals.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_UX22i8EF87e3BqJjTkWuyBfopz42DfSaNLis4BuG/ai-agent-connect
- **Tags:** soybeans, commodities, crush-spread, futures, trading-signals

## Description

This MCP server provides tools to evaluate soybean processing margins, known as crush spreads. By analyzing the relationship between soybean futures and its products (meal and oil), users can identify market extremes. Use `calculate_crush_signals` to detect BUY or SELL signals based on z-score deviations, or `get_crush_statistics` to analyze historical volatility and spread ranges.

## Tools

### calculate_crush_signals
Computes daily crush spreads, statistical indicators, and trading signals

### get_seasonal_crush_patterns
Identifies the historical relationship between soybean supply tightness and crush spread widening

### get_crush_statistics
Analyzes the historical behavior and volatility of the crush spread

## Prompt Examples

**Prompt:** 
```
Calculate the current crush signals for these soybean prices: [12.5, 12.6, 12.4], meal prices: [350, 355, 352], oil prices: [15, 16, 15.5], and soybean OI: [10000, 11000, 10500], meal OI: [8000, 8500, 8200], and oil OI: [6000, 6500, 6200].
```

**Response:** 
```
The current signal is BUY with a crush spread of $1.85 and a z-score of -2.1, suggesting a compressed margin opportunity.
```

**Prompt:** 
```
What is the historical volatility of the crush spread for these prices?
```

**Response:** 
```
The historical volatility for the provided period is 0.45 with an average spread of $1.65.
```

**Prompt:** 
```
Show me the seasonal patterns for soybean supply tightness.
```

**Response:** 
```
Margins historically expand during months 7 and 8 due to increased supply tightness.
```

## Frequently Asked Questions

**What is a crush spread?**
A crush spread is the profit margin for processors who buy soybeans and sell the resulting meal and oil.

**How are trading signals generated?**
Signals are generated using `calculate_crush_signals` when the z-score indicates the margin is significantly compressed or expanded relative to its moving average.

**What are the liquidity requirements?**
The strategy requires all constituent contracts to have an Open Interest greater than 5,000 to ensure sufficient liquidity.
