mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
exchange: drop unused function
This commit is contained in:
parent
0b6dc41091
commit
983707b56a
|
@ -56,8 +56,3 @@ func NewWithEnvVarPrefix(n types.ExchangeName, varPrefix string) (types.Exchange
|
|||
subAccount := os.Getenv(varPrefix + "_SUBACCOUNT")
|
||||
return NewStandard(n, key, secret, passphrase, subAccount)
|
||||
}
|
||||
|
||||
// New constructor exchange object from viper config.
|
||||
func New(n types.ExchangeName) (types.Exchange, error) {
|
||||
return NewWithEnvVarPrefix(n, "")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user