Spread opened

A spread started matching the webhook's filters. data is the spread. Any 2xx within 5 s is success. Otherwise the delivery is retried after 1, 5 and 25 s; after 20 failed deliveries in a row the webhook is disabled (POST /v1/webhooks/{id}/enable).

Payload

One webhook delivery.

date-time
required

When the event happened.

data
object
required

A cross-exchange spread as the engine publishes it (the stream's spread event and webhook data). Prices are in the leg's quote; …Pct are percent; times unix ms.

string
enum
required

The event's name; spread.batch for a batched delivery.

Allowed:
string
required

Delivery id (hex).

Headers
string
required

The event's name; spread.batch for a batched delivery.

string
required

t=<unix seconds>,v1=<hex HMAC-SHA256(secret, "<t>.<raw body>")>. Compute the HMAC over the raw body as received, compare in constant time and reject old t (replays).

Response
200

OK

LoadingLoading…