Price spread of two legs
spread_chartCandles of (A − B) / B between any two instruments (book mids where stored, else marks). Free: 1 h candles and longer over up to 7 days; Pro: 1 m and up, up to 365 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| leg_a | Yes | instrument id, e.g. binance:um:BTCUSDT | |
| leg_b | Yes | instrument id | |
| candle | No | 1h | |
| executable | No |