Documentation ¶
Index ¶
- func AggTradeScraper(binanceClient *binance.Client, symbolList []string)
- func CancelAllOpenOrderBySymbol(binanceClient *binance.Client, symbol string)
- func CancelOrderByID(binanceClient *binance.Client, orderID int64, symbol string)
- func CloseUserStream(binanceClient *binance.Client, listenKey string)
- func CreateOrder(binanceClient *binance.Client, symbol string, sidetype binance.SideType, ...) (*binance.CreateOrderResponse, error)
- func GetAccount(binanceClient *binance.Client)
- func GetAllAssetBalance(binanceClient *binance.Client) []binance.Balance
- func GetAllSymbolList(binanceClient *binance.Client) ([]string, []float64)
- func GetAllUSDTSymbolList(binanceClient *binance.Client) ([]string, []float64)
- func GetAssetBalance(binanceClient *binance.Client, coin string) (free float64, locked float64)
- func GetBinanceServerTime(binanceClient *binance.Client)
- func GetBookTicketPricesBySymbol(binanceClient *binance.Client, symbol string)
- func GetExchangeInfo(binanceClient *binance.Client)
- func GetSymbolLotSize(binanceClient *binance.Client, symbol string) float64
- func GetSymbolPrice(binanceClient *binance.Client, symbol string) float64
- func KeepAliveUserStream(binanceClient *binance.Client, listenKey string)
- func KlineScraper(binanceClient *binance.Client, symbolList []string)
- func ListAggregateTradeBySymbol(binanceClient *binance.Client, symbol string)
- func ListAllAssetDetails(binanceClient *binance.Client, redisClient *redis.Client)
- func ListAllDeposit(binanceClient *binance.Client)
- func ListAllMktFilledTradesBySymbol(binanceClient *binance.Client, symbol string)
- func ListAllOpenOrdersBySymbol(binanceClient *binance.Client, symbol string)
- func ListAllOrdersBySymbol(binanceClient *binance.Client, symbol string)
- func ListAllTicketPrices(binanceClient *binance.Client)
- func ListAllTradesBySymbol(binanceClient *binance.Client, symbol string)
- func ListAvgPriceBySymbol(binanceClient *binance.Client, symbol string)
- func ListDepositAddress(binanceClient *binance.Client)
- func ListKlinesBySymbolByInterval(binanceClient *binance.Client, symbol string, interval string)
- func ListOrderbyID(binanceClient *binance.Client, orderID int64, symbol string)
- func ListRecentTradeBySymbol(binanceClient *binance.Client, symbol string)
- func ListTicketPricesChangeStatsBySymbol(binanceClient *binance.Client, symbol string)
- func PingBinance(binanceClient *binance.Client)
- func PriceDepthScraper(binanceClient *binance.Client, symbolList []string)
- func PrintAllAssetBalance(binanceClient *binance.Client)
- func SetBinanceServerTime(binanceClient *binance.Client)
- func ShowPriceDepthBySymbol(binanceClient *binance.Client, symbol string)
- func StartUserStream(binanceClient *binance.Client) string
- func WsAggTradeStreams(symbol string)
- func WsAggTradeStreamsDataMessageQueue(symbol string)
- func WsAllBookTickerStreams()
- func WsBookTickerStreams(symbol string)
- func WsCombinedAggTradeStreamDataMessageQueue(symbols []string)
- func WsCombinedAggTradeStreams(symbols []string)
- func WsCombinedKlineStream(symbolIntervalPair map[string]string)
- func WsCombinedKlineStreamDataMessageQueue(symbolIntervalPair map[string]string)
- func WsCombinedMarketStatStream(symbol []string)
- func WsCombinedPriceDepthStreamDataMessageQueue(symbols []string)
- func WsCombinedPriceDepthStreams(symbols []string)
- func WsKlineStream(symbol string, interval string)
- func WsKlineStreamDataMessageQueue(symbol string, interval string)
- func WsMarketStatStream(symbol string)
- func WsPriceDepthStreams(symbol string)
- func WsTradeStreams(symbol string)
- func WsUserDataStream(listenKey string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggTradeScraper ¶
func AggTradeScraper(binanceClient *binance.Client, symbolList []string)
func CancelAllOpenOrderBySymbol ¶
func CancelAllOpenOrderBySymbol(binanceClient *binance.Client, symbol string)
func CancelOrderByID ¶
func CloseUserStream ¶
func CloseUserStream(binanceClient *binance.Client, listenKey string)
func CreateOrder ¶
func GetAccount ¶
func GetAccount(binanceClient *binance.Client)
func GetAllAssetBalance ¶
func GetAllAssetBalance(binanceClient *binance.Client) []binance.Balance
func GetAllSymbolList ¶
func GetAllUSDTSymbolList ¶
func GetAssetBalance ¶
func GetBinanceServerTime ¶
func GetBinanceServerTime(binanceClient *binance.Client)
func GetBookTicketPricesBySymbol ¶
func GetBookTicketPricesBySymbol(binanceClient *binance.Client, symbol string)
func GetExchangeInfo ¶
func GetExchangeInfo(binanceClient *binance.Client)
func GetSymbolLotSize ¶
func GetSymbolPrice ¶
func KeepAliveUserStream ¶
func KeepAliveUserStream(binanceClient *binance.Client, listenKey string)
func KlineScraper ¶
func KlineScraper(binanceClient *binance.Client, symbolList []string)
func ListAggregateTradeBySymbol ¶
func ListAggregateTradeBySymbol(binanceClient *binance.Client, symbol string)
func ListAllAssetDetails ¶
func ListAllDeposit ¶
func ListAllDeposit(binanceClient *binance.Client)
func ListAllMktFilledTradesBySymbol ¶
func ListAllMktFilledTradesBySymbol(binanceClient *binance.Client, symbol string)
func ListAllOpenOrdersBySymbol ¶
func ListAllOpenOrdersBySymbol(binanceClient *binance.Client, symbol string)
func ListAllOrdersBySymbol ¶
func ListAllOrdersBySymbol(binanceClient *binance.Client, symbol string)
func ListAllTicketPrices ¶
func ListAllTicketPrices(binanceClient *binance.Client)
func ListAllTradesBySymbol ¶
func ListAllTradesBySymbol(binanceClient *binance.Client, symbol string)
func ListAvgPriceBySymbol ¶
func ListAvgPriceBySymbol(binanceClient *binance.Client, symbol string)
func ListDepositAddress ¶
func ListDepositAddress(binanceClient *binance.Client)
func ListOrderbyID ¶
func ListRecentTradeBySymbol ¶
func ListRecentTradeBySymbol(binanceClient *binance.Client, symbol string)
func ListTicketPricesChangeStatsBySymbol ¶
func ListTicketPricesChangeStatsBySymbol(binanceClient *binance.Client, symbol string)
func PingBinance ¶
func PingBinance(binanceClient *binance.Client)
func PriceDepthScraper ¶
func PriceDepthScraper(binanceClient *binance.Client, symbolList []string)
func PrintAllAssetBalance ¶
func PrintAllAssetBalance(binanceClient *binance.Client)
func SetBinanceServerTime ¶
func SetBinanceServerTime(binanceClient *binance.Client)
func ShowPriceDepthBySymbol ¶
func ShowPriceDepthBySymbol(binanceClient *binance.Client, symbol string)
func StartUserStream ¶
func StartUserStream(binanceClient *binance.Client) string
func WsAggTradeStreams ¶
func WsAggTradeStreams(symbol string)
WsAggTradeStreams serve websocket aggregate handler with a symbol
func WsAggTradeStreamsDataMessageQueue ¶
func WsAggTradeStreamsDataMessageQueue(symbol string)
func WsAllBookTickerStreams ¶
func WsAllBookTickerStreams()
WsAllBookTickerStreams serve websocket that pushes updates to the best bid or ask price or quantity in real-time for all symbols.
func WsBookTickerStreams ¶
func WsBookTickerStreams(symbol string)
WsBookTickerStreams serve websocket that pushes updates to the best bid or ask price or quantity in real-time for a specified symbol.
func WsCombinedAggTradeStreamDataMessageQueue ¶
func WsCombinedAggTradeStreamDataMessageQueue(symbols []string)
func WsCombinedAggTradeStreams ¶
func WsCombinedAggTradeStreams(symbols []string)
WsCombinedAggTradeStreams is similar to WsAggTradeServe, but it handles multiple symbolx
func WsCombinedKlineStream ¶
WsCombinedKlineStream is similar to WsKlineServe, but it handles multiple symbols with it interval
func WsCombinedMarketStatStream ¶
func WsCombinedMarketStatStream(symbol []string)
WsCombinedMarketStatStream is similar to WsMarketStatServe, but it handles multiple symbol
func WsCombinedPriceDepthStreamDataMessageQueue ¶
func WsCombinedPriceDepthStreamDataMessageQueue(symbols []string)
func WsCombinedPriceDepthStreams ¶
func WsCombinedPriceDepthStreams(symbols []string)
WsCombinedPriceDepthStreams is similar to WsDepthServe, but it for multiple symbols
func WsKlineStream ¶
WsKlineStream serve websocket kline handler with a symbol and interval like 15m, 30s
func WsMarketStatStream ¶
func WsMarketStatStream(symbol string)
WsMarketStatStream serve websocket that push 24hr statistics for single market every second
func WsPriceDepthStreams ¶
func WsPriceDepthStreams(symbol string)
WsPriceDepthStreams serve websocket depth handler with an arbitrary endpoint address
func WsTradeStreams ¶
func WsTradeStreams(symbol string)
WsTradeStreams serve websocket handler with a symbol
func WsUserDataStream ¶
func WsUserDataStream(listenKey string)
WsUserDataStream serve user data handler with listen key
Types ¶
This section is empty.