exchange

package
v1.61.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: AGPL-3.0 Imports: 10 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSessionAttributes added in v1.37.0

func GetSessionAttributes(exchange types.Exchange) (isMargin, isFutures, isIsolated bool, isolatedSymbol string)

func IsMaxExchange added in v1.58.0

func IsMaxExchange(exchange interface{}) bool

func New

func New(n types.ExchangeName, key, secret, passphrase string) (types.ExchangeMinimal, error)

func NewPublic

func NewPublic(exchangeName types.ExchangeName) (types.Exchange, error)

func NewWithEnvVarPrefix

func NewWithEnvVarPrefix(n types.ExchangeName, varPrefix string) (types.ExchangeMinimal, error)

NewWithEnvVarPrefix allocate and initialize the exchange instance with the given environment variable prefix When the varPrefix is a empty string, the default exchange name will be used as the prefix

Types

This section is empty.

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
max
Code generated by go:generate; DO NOT EDIT.
Code generated by go:generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.

Jump to

Keyboard shortcuts

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