Documentation ¶
Index ¶
- func NewExchange(n types.ExchangeName) (types.Exchange, error)
- func NewExchangePublic(exchangeName types.ExchangeName) (types.Exchange, error)
- func NewExchangeStandard(n types.ExchangeName, key, secret, passphrase, subAccount string) (types.Exchange, error)
- func NewExchangeWithEnvVarPrefix(n types.ExchangeName, varPrefix string) (types.Exchange, error)
- func PersistentFlags(flags *pflag.FlagSet)
- func WaitForSignal(ctx context.Context, signals ...os.Signal) os.Signal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExchange ¶
func NewExchange(n types.ExchangeName) (types.Exchange, error)
NewExchange constructor exchange object from viper config.
func NewExchangePublic ¶ added in v1.21.0
func NewExchangePublic(exchangeName types.ExchangeName) (types.Exchange, error)
func NewExchangeStandard ¶ added in v1.11.0
func PersistentFlags ¶
PersistentFlags defines the flags for environments
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.