Documentation ¶
Index ¶
- Variables
- func GetAlignOff(exgName string, tfSecs int) int
- func GetLeverage(symbol string, notional float64, account string) (float64, float64)
- func GetOdBook(pair string) (*banexg.OrderBook, *errs.Error)
- func GetTickers() (map[string]*banexg.Ticker, *errs.Error)
- func GetWith(name, market, contractType string) (banexg.BanExchange, *errs.Error)
- func PrecAmount(exchange banexg.BanExchange, symbol string, amount float64) (float64, *errs.Error)
- func PrecCost(exchange banexg.BanExchange, symbol string, cost float64) (float64, *errs.Error)
- func PrecPrice(exchange banexg.BanExchange, symbol string, price float64) (float64, *errs.Error)
- func Setup() *errs.Error
Constants ¶
This section is empty.
Variables ¶
View Source
var Default banexg.BanExchange
Functions ¶
func GetAlignOff ¶
GetAlignOff Obtain the time offset of the aggregation for the specified period, in seconds 获取指定周期聚合的时间偏移,单位:秒
func GetLeverage ¶
func PrecAmount ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.