Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderBooksRes ¶
type OrderBooksRes struct { model.ResponseCommon Data struct { Asks []struct { Price decimal.Decimal `json:"price"` Size decimal.Decimal `json:"size"` } `json:"asks"` Bids []struct { Price decimal.Decimal `json:"price"` Size decimal.Decimal `json:"size"` } `json:"bids"` Symbol consts.Symbol `json:"symbol"` } `json:"data"` }
OrderBooksRes ...
type StatusRes ¶
type StatusRes struct { model.ResponseCommon Data struct { Status consts.ExchangeStatus `json:"status"` } }
StatusRes ...
type SymbolsRes ¶
type SymbolsRes struct { Data []struct { Symbol consts.Symbol `json:"symbol"` MinOrderSize decimal.Decimal `json:"minOrderSize"` MaxOrderSize decimal.Decimal `json:"maxOrderSize"` SizeStep decimal.Decimal `json:"sizeStep"` TickSize decimal.Decimal `json:"tickSize"` TakerFee decimal.Decimal `json:"takerFee"` MakerFee decimal.Decimal `json:"makerFee"` } model.ResponseCommon }
type TickerRes ¶
type TickerRes struct { model.ResponseCommon Data []struct { Ask decimal.Decimal `json:"ask"` Bid decimal.Decimal `json:"bid"` High decimal.Decimal `json:"high"` Low decimal.Decimal `json:"low"` Last decimal.Decimal `json:"last"` Symbol consts.Symbol `json:"symbol"` Timestamp time.Time `json:"timestamp"` Volume decimal.Decimal `json:"volume"` } }
TickerRes ...
type TradesRes ¶
type TradesRes struct { Data struct { List []struct { Price decimal.Decimal `json:"price"` Side consts.Side `json:"side"` Size decimal.Decimal `json:"size"` Timestamp time.Time `json:"timestamp"` } `json:"list"` model.Pagination `json:"pagination"` } model.ResponseCommon }
TradesRes ...
Click to show internal directories.
Click to hide internal directories.