onetrades

package module
v0.0.0-...-314eefb Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 10 Imported by: 0

README

onetrades

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBinanceFutures

func NewBinanceFutures(cred Credentials, opts ...Options) *binance.FuturesClient

func NewBinanceSpot

func NewBinanceSpot(cred Credentials, opts ...Options) *binance.SpotClient

func NewBingXFutures

func NewBingXFutures(cred Credentials, opts ...Options) *bingx.FuturesClient

func NewBingXSpot

func NewBingXSpot(cred Credentials, opts ...Options) *bingx.SpotClient

func NewBitgetFutures

func NewBitgetFutures(cred Credentials, opts ...Options) *bitget.FuturesClient

func NewBitgetSpot

func NewBitgetSpot(cred Credentials, opts ...Options) *bitget.SpotClient

func NewBullishFutures

func NewBullishFutures(cred Credentials, opts ...Options) *bullish.FuturesClient

func NewBybitFutures

func NewBybitFutures(cred Credentials, opts ...Options) *bybit.FuturesClient

func NewBybitSpot

func NewBybitSpot(cred Credentials, opts ...Options) *bybit.SpotClient

func NewGateIOFutures

func NewGateIOFutures(cred Credentials, opts ...Options) *gateio.FuturesClient

func NewGateIOSpot

func NewGateIOSpot(cred Credentials, opts ...Options) *gateio.SpotClient

func NewHuobiFutures

func NewHuobiFutures(cred Credentials, opts ...Options) *huobi.FuturesClient

func NewHuobiSpot

func NewHuobiSpot(cred Credentials, opts ...Options) *huobi.SpotClient

func NewKucoinFutures

func NewKucoinFutures(cred Credentials, opts ...Options) *kucoin.FuturesClient

func NewKucoinSpot

func NewKucoinSpot(cred Credentials, opts ...Options) *kucoin.SpotClient

func NewMEXCSpot

func NewMEXCSpot(cred Credentials, opts ...Options) *mexc.SpotClient

func NewOKXFutures

func NewOKXFutures(cred Credentials, opts ...Options) *okx.FuturesClient

func NewOKXSpot

func NewOKXSpot(cred Credentials, opts ...Options) *okx.SpotClient

Types

type Credentials

type Credentials struct {
	APIKey    string
	SecretKey string
	Memo      string
}

Общие креды для всех бирж

type HasBrokerID

type HasBrokerID interface{ SetBrokerID(string) }

type HasCOINM

type HasCOINM interface{ SetCOINM(bool) }

type HasDebug

type HasDebug interface{ SetDebug(bool) }

type HasProxy

type HasProxy interface{ SetProxy(string) }

type HasTimeOffset

type HasTimeOffset interface{ SetTimeOffset(int64) }

type HasUserAgent

type HasUserAgent interface{ SetUserAgent(string) }

type Options

type Options struct {
	COINM      bool   // для фьючерсов у поддерживаемых бирж
	Proxy      string // http(s)://host:port
	UserAgent  string // кастомный UA
	Debug      bool
	BrokerID   string
	TimeOffset int64
}

Общие опции

Jump to

Keyboard shortcuts

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