Documentation
¶
Overview ¶
common
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BalanceArray ¶
type BalanceArray []Balance
func (BalanceArray) DropZero ¶
func (barr1 BalanceArray) DropZero() (barr2 BalanceArray)
func (BalanceArray) Extract ¶
func (barr BalanceArray) Extract(currency_code string) (b Balance)
type OrderInfo ¶
type OrderInfo struct {
OrderId string
CurrencyPair string
Side string
Type string
Status string
TotalSize float64
ExecutedSize float64
Price float64
AveragePrice float64
}
Order info
type Tick ¶
type Tick struct {
ServiceName string
CurrencyPair string
UnixTimestamp int64
TickId int
BestBid float64
BestAsk float64
BestBidSize float64
BestAskSize float64
TotalBidDepth float64
TotalAskDepth float64
LastPrice float64
HighPrice float64
LowPrice float64
PriceChangePercent1h float64
PriceChangePercent24h float64
PriceChangePercent7d float64
Volume float64
Spread float64
}
Ticker
Click to show internal directories.
Click to hide internal directories.