Versions in this module Expand all Collapse all v1 v1.0.0 Dec 26, 2023 Changes in this version + type SpotClient struct + func NewSpotClient(cfg *SpotClientCfg) (*SpotClient, error) + func (scli *SpotClient) GetAccountInfo(ctx context.Context) (*types.GetAccountInfoResponse, error) + func (scli *SpotClient) GetAccountValuation(ctx context.Context, param types.GetAccountValuationParam) (*types.GetAccountValuationResp, error) + func (scli *SpotClient) GetMergedMarketTicker(ctx context.Context, param types.GetMergedMarketTickerParam) (*types.GetMergedMarketTickerResp, error) + func (scli *SpotClient) GetSymbols(ctx context.Context, param types.GetSymbolsParam) (*types.GetSymbolsResp, error) + func (scli *SpotClient) NewOrder(ctx context.Context, param types.NewOrderParam) (*types.NewOrderResp, error) + type SpotClientCfg struct + BaseURL string + Debug bool + Key string + Logger *slog.Logger + Secret string