exchange

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSymbols

func GetSymbols(exchange string) (symbols []string, err error)

Types

type BinanceExchangeInfo

type BinanceExchangeInfo struct {
	Code    int    `json:"code"`
	Message string `json:"msg"`
	Symbols []struct {
		Status     string `json:"status"`
		BaseAsset  string `json:"baseAsset"`
		QuoteAsset string `json:"quoteAsset"`
	} `json:"symbols"`
}

type BitfinexConfig

type BitfinexConfig [][]string

type KucoinSymbols

type KucoinSymbols struct {
	Data []struct {
		BaseCurrency  string `json:"baseCurrency"`
		QuoteCurrency string `json:"quoteCurrency"`
		EnableTrading bool   `json:"enableTrading"`
	} `json:"data"`
}

type PoloniexSymbols

type PoloniexSymbols []struct {
	DisplayName string `json:"displayName"`
	State       string `json:"state"`
}

Jump to

Keyboard shortcuts

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