mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-22 15:10:13 +00:00
Exchanges: Remove ANX from codebase (#408)
* Remove ANX from codebase * Doc changes
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
defaultTestExchange = "ANX"
|
||||
defaultTestExchange = "Bitfinex"
|
||||
defaultTestCurrencyPair = "BTC-USD"
|
||||
)
|
||||
|
||||
@@ -1175,13 +1175,13 @@ func TestUpdatePairs(t *testing.T) {
|
||||
t.Fatal("TestUpdatePairs failed to load config")
|
||||
}
|
||||
|
||||
anxCfg, err := cfg.GetExchangeConfig(defaultTestExchange)
|
||||
exchCfg, err := cfg.GetExchangeConfig(defaultTestExchange)
|
||||
if err != nil {
|
||||
t.Fatal("TestUpdatePairs failed to load config")
|
||||
}
|
||||
|
||||
UAC := Base{Name: defaultTestExchange}
|
||||
UAC.Config = anxCfg
|
||||
UAC.Config = exchCfg
|
||||
exchangeProducts := currency.NewPairsFromStrings([]string{"ltc", "btc", "usd", "aud", ""})
|
||||
err = UAC.UpdatePairs(exchangeProducts, asset.Spot, true, false)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user