SUBSCRIBE Book Ticker (NEW)

SUB wss://ws.aevo.xyz
Returns instrument ticker information when its top of the book changes and returns information such as: instrument data, bid and asks

UPDATE TIME

Real Time

REQUEST

op string required
Operation code allowed values: subscribe unsubscribe
data array of strings required
Channel name in the format book-ticker:ASSET:INSTRUMENT_TYPE or book-ticker:INSTRUMENT_NAME.
Eg. book-ticker:ETH:OPTION or book-ticker:ETH-31MAR23-1350-C.
  • ASSET allowed values: ETH & BTC
  • INSTRUMENT_TYPE allowed values : OPTION PERPETUAL
Example
{
	"op":"subscribe", 
	"data": ["book-ticker:ETH-31MAR23-1350-C"]
}
{
	"op":"subscribe", 
	"data": ["book-ticker:ETH:OPTION"]
}

RESPONSE

channel string required
Channel name in the format ticker:ASSET:INSTRUMENT_TYPE or ticker:INSTRUMENT_NAME.
Eg. ticker:ETH:OPTION or ticker:ETH-31MAR23-1350-C.
data.timestamp string required
Update timestamp in UNIX timestamp in nanoseconds. Eg. 1680249600000000000
data.tickers array of objects required
Ticker information.

TICKER OBJECT
instrument_id string required
Instrument ID number. Eg. 12
instrument_name string required
Instrument name. Eg. ETH-24DEC22-1250-C
instrument_type string required
Type of instrument. Allowed values: OPTION PERPETUAL
bid object required
Top bid details in ticker object format.
PRICE LEVEL OBJECT
ask object required
Top ask details in ticker object format.
PRICE LEVEL OBJECT
Example
{
    "channel": "book-ticker:ETH-31MAR23-1350-C",
    "data": {
        "timestamp": "1673436965238291661",
        "tickers": [
            {
                "instrument_id": 165,
                "instrument_name": "ETH-31MAR23-1350-C",
                "instrument_type": "OPTION",
                "bid": {
                    "price": "2",
                    "delta": "0.2159147503564693",
                    "theta": "-0.03033364841496897",
                    "gamma": "0.017935537671398397",
                    "rho": "0.6193026765188775",
                    "vega": "2.466304065911212",
                    "iv": "0.026280592178461275",
                    "amount": "10"
                },
                "ask": {
                    "price": "10",
                    "delta": "0.3756922766741976",
                    "theta": "-0.09391922572782523",
                    "gamma": "0.009719490995099413",
                    "rho": "1.063503444637495",
                    "vega": "2.466304065911212",
                    "iv": "0.06281820373274899",
                    "amount": "1"
                }
            }
        ]
    }
}