# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WsAggTradeServe serve websocket diff.
WsDiffDepthServe serve websocket diff.
WsDiffDepthServeWithRate serve websocket diff.
WsAggTradeServe serve websocket diff.
WsDiffDepthServeWithRate serve websocket diff.
WsPartialDepthServe serve websocket partial depth handler.
WsPartialDepthServeWithRate serve websocket partial depth handler with rate.
WsAggTradeServe serve websocket diff.
WsUserDataServe serve user data handler with listen key.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WsAccountUpdate define account update "e": "outboundAccountPosition", "E": 1564034571105, "u": 1564034571073, "B": { "a": 1, // tokenID "f": "10000.000000", "l": "0.000000", "o": "1", "d": "1", "w": "1" }.
WsAggTradeEvent define websocket aggTrade event.
"e": "balanceUpdate", "E": 1638436619185, "a": 5, // TokenID "v": "138347.815785".
WsConfig webservice configuration.
WsDepthEvent define websocket depth book event.
No description provided by the author
No description provided by the author
"e": "accountTrade", "E": 123456789, "B": 1, "U": 0, "P": 10, "t": 12345, "p": "0.001", "q": "100", "b": 88, "y": 0, "c": "100", "o": 10, "k": true, "a": 50, "Y": 0, "C": "100", "O": 11, "K": false, "T": 123456785, "m": true, "M": true, // is buy {"e":"accountTrade","E":1649729838364,"B":38,"U":2,"t":"53919893573506938846026056646645071265414976847805002301702219526183", "p":"2972.9","q":"0.567","Q":"1685.63","b":"268116561428386642823475130407","y":6,"c":"1685630000","o":2,"k":false, "a":"901941931658575567896478931478","Y":0,"C":"567000000000000000","O":38,"K":false,"T":1649729838212,"m":true,"M":false}.
{ "e": "executionReport", "E": 1637380246232, "s": 339, // StorageID "o": "980942284077759781128233812307", "a": 12, "p": 6, "S": 4, "B": 5, "G": 0, // gas fee token id "F": 5, "M": 0, "f": "0", "l": "0", "c": "0", "k": "0", "u": "canceled", "y": false, "b": false, "v": 1639972221, "d": "1111", "D": "1111", "T": 0, "t": 1637351446, "r": 1637351422, "U": 1637351446 }.
"e": "24hrTicker", "E": 123456789, "B": 1, // BaseTokenID "U": 2, // QuoteTokenID "p": "0.0015", "P": "250.00", "w": "0.0018", "x": "0.0009", "c": "0.0025", "Q": "10", "b": "0.0024", "I": "10", "a": "0.0026", "A": "100", "o": "0.0010", "h": "0.0025", "l": "0.0010", "v": "10000", "q": "18", "O": 0, "C": 86400000, "F": 0, "L": 18150, "n": 18151, "s": 180, "S": 1.
WsUserDataEvent define user data event.
# Type aliases
ErrHandler handles errors.
No description provided by the author
TimeInForceType define time in force type of order.
No description provided by the author
WsDepthHandler handle websocket depth event.
WsHandler handle raw websocket message.
WsKlineHandler handle websocket kline event.
WsTickerHandler handle websocket ticker event.
WsTradeHandler handle websocket trade event.
WsUserDataHandler handle WsUserDataEvent.