# Futures Delivery Strategy AI Agent Connect

> Identify arbitrage and liquidity squeezes in futures markets.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_X2THONSNj3fLCwCxJJDwj1KkHuw8iNsUwVZDkRjC/ai-agent-connect
- **Tags:** futures, arbitrage, liquidity, commodities, algorithmic-trading

## Description

This MCP server provides deterministic algorithmic tools to monitor the convergence between futures and spot markets. Use `analyze_market_state` to detect liquidity squeezes when supply is tight and basis is high. Determine trade directions with `get_trading_signal` based on arbitrage logic, and use `calculate_delivery_economics` to compute total costs and squeeze probabilities for physical delivery strategies.

## Tools

### get_trading_signal
Determines the specific trade direction (BUY, SELL, or HOLD) based on arbitrage and squeeze logic

### calculate_delivery_economics
Computes the total costs and probability factors associated with executing a physical delivery strategy

### analyze_market_state
Provides a daily snapshot of the relationship between futures and spot prices and the current supply conditions

## Prompt Examples

**Prompt:** 
```
Analyze the current market state with a basis of 6% and 5,000 contracts available.
```

**Response:** 
```
A squeeze is detected due to high basis and tight supply.
```

**Prompt:** 
```
What is the trading signal if the basis is -6% and supply is 60,000?
```

**Response:** 
```
The signal is BUY.
```

**Prompt:** 
```
Calculate the delivery economics for a spot price of 100 with 5 storage and 2 insurance costs.
```

**Response:** 
```
The total delivery cost is 7.
```

## Frequently Asked Questions

**How do I detect a delivery squeeze?**
A squeeze is detected using `analyze_market_state` when the days to first notice is under 30, the basis is above 5%, and deliverable supply is below 10,000 contracts.

**What determines a BUY signal?**
A BUY signal is generated via `get_trading_signal` when the basis is less than -5% and the deliverable supply is greater than 50,000.

**Can I calculate delivery costs?**
Yes, use `calculate_delivery_economics` to compute total delivery costs including storage, insurance, and transportation.
