WebSocket
WebSocket API
Alcor Exchange using Socket.IO for interact via WebSocket technology.
There are two commands for subscribing to and channel with specific information.
subscribe: Subscribing for an specific room.
unsubscribe: Unsubscribe from sprcific room.
Available rooms, and params that they receive.
deals: chain, market. -> Subscribe to new deals. (first update will be last 200 deals).
ticker: chain, market, resolution. -> Subscribe to chart updates.
account: chain, name. -> Subscribe to account notifications. (only order match for now)
orderbook: chain, side(sell/buy), market(id). -> Subscribe to orderbook updates. (first update is full order book state)
Currect events to receive:
match: Account new match
orderbook_sell: new orderbook update on sell side
orderbook_buy: new orderbook update on sell buy
new_deals: update on new deal on specific market
Example of connection:
Last updated