marketdata

package
v0.0.0-...-795c9cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpotMarketDataClient

type SpotMarketDataClient struct {
	*spotutils.SpotClient
	// contains filtered or unexported fields
}

func NewSpotMarketDataClient

func NewSpotMarketDataClient(cfg *spotutils.SpotClientCfg) (*SpotMarketDataClient, error)

func (*SpotMarketDataClient) GetAggTrades

func (s *SpotMarketDataClient) GetAggTrades(ctx context.Context, param types.GetAggTradesParam) ([]*types.AggTrade, error)

func (*SpotMarketDataClient) GetAvgPrice

func (*SpotMarketDataClient) GetBookTickerForSymbol

func (s *SpotMarketDataClient) GetBookTickerForSymbol(ctx context.Context, param types.GetBookTickerForSymbolParam) (*types.BookTicker, error)

func (*SpotMarketDataClient) GetBookTickerForSymbols

func (s *SpotMarketDataClient) GetBookTickerForSymbols(ctx context.Context, param types.GetBookTickerForSymbolsParam) ([]*types.BookTicker, error)

func (*SpotMarketDataClient) GetExchangeInfo

func (*SpotMarketDataClient) GetKlines

func (s *SpotMarketDataClient) GetKlines(ctx context.Context, param types.GetKlineParam) ([]*types.Kline, error)

func (*SpotMarketDataClient) GetOrderbook

func (*SpotMarketDataClient) GetRecentTradeList

func (s *SpotMarketDataClient) GetRecentTradeList(ctx context.Context, param types.GetTradeParams) ([]*types.Trade, error)

func (*SpotMarketDataClient) GetServerTime

func (s *SpotMarketDataClient) GetServerTime(ctx context.Context) (*types.ServerTime, error)

func (*SpotMarketDataClient) GetTickerForSymbol

func (s *SpotMarketDataClient) GetTickerForSymbol(ctx context.Context, param types.GetTickerForSymbolParam) (*types.Ticker, error)

func (*SpotMarketDataClient) GetTickerForSymbols

func (s *SpotMarketDataClient) GetTickerForSymbols(ctx context.Context, param types.GetTickerForSymbolsParam) ([]*types.Ticker, error)

func (*SpotMarketDataClient) GetTickerPriceForSymbol

func (s *SpotMarketDataClient) GetTickerPriceForSymbol(ctx context.Context, param types.GetTickerPriceForSymbolParam) (*types.TickerPrice, error)

func (*SpotMarketDataClient) GetTickerPriceForSymbols

func (s *SpotMarketDataClient) GetTickerPriceForSymbols(ctx context.Context, param types.GetTickerPriceForSymbolsParam) ([]*types.TickerPrice, error)

func (*SpotMarketDataClient) Ping

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL