exchange

package
v0.0.0-...-8d88297 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSessionAttributes

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

func New

New constructor exchange object from viper config.

func NewPublic

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

func NewStandard

func NewStandard(n types.ExchangeName, key, secret, passphrase, subAccount string) (types.Exchange, error)

func NewWithEnvVarPrefix

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

Types

This section is empty.

Directories

Path Synopsis
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.
okexapi
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