Various improvements

This commit is contained in:
Adrian Gallagher
2018-01-03 18:36:13 +11:00
parent 301257427e
commit 2446007b03
6 changed files with 31 additions and 17 deletions

View File

@@ -127,6 +127,8 @@ func (g *Gemini) Setup(exch config.ExchangeConfig) {
g.EnabledPairs = common.SplitStrings(exch.EnabledPairs, ",")
if exch.UseSandbox {
g.APIUrl = geminiSandboxAPIURL
} else {
g.APIUrl = geminiAPIURL
}
err := g.SetCurrencyPairFormat()
if err != nil {