Documentation ¶
Index ¶
- func GetSessionAttributes(exchange types.Exchange) (isMargin, isFutures, isIsolated bool, isolatedSymbol string)
- func New(n types.ExchangeName, key, secret, passphrase string) (types.ExchangeMinimal, error)
- func NewPublic(exchangeName types.ExchangeName) (types.Exchange, error)
- func NewWithEnvVarPrefix(n types.ExchangeName, varPrefix string) (types.ExchangeMinimal, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSessionAttributes ¶ added in v1.37.0
func New ¶
func New(n types.ExchangeName, key, secret, passphrase string) (types.ExchangeMinimal, 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.
Click to show internal directories.
Click to hide internal directories.