mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 23:16:54 +00:00
Package currency
This commit is contained in:
8
main.go
8
main.go
@@ -11,6 +11,7 @@ import (
|
||||
|
||||
"github.com/thrasher-/gocryptotrader/common"
|
||||
"github.com/thrasher-/gocryptotrader/config"
|
||||
"github.com/thrasher-/gocryptotrader/currency"
|
||||
"github.com/thrasher-/gocryptotrader/exchanges"
|
||||
"github.com/thrasher-/gocryptotrader/exchanges/anx"
|
||||
"github.com/thrasher-/gocryptotrader/exchanges/bitfinex"
|
||||
@@ -135,12 +136,15 @@ func main() {
|
||||
|
||||
setupBotExchanges()
|
||||
|
||||
err = RetrieveConfigCurrencyPairs()
|
||||
bot.config.RetrieveConfigCurrencyPairs()
|
||||
|
||||
err = currency.SeedCurrencyData(currency.BaseCurrencies)
|
||||
if err != nil {
|
||||
log.Fatalf("Fatal error retrieving config currency AvailablePairs. Error: ", err)
|
||||
log.Fatalf("Fatal error retrieving config currencies. Error: ", err)
|
||||
}
|
||||
|
||||
log.Println("Successfully retrieved config currencies.")
|
||||
|
||||
go StartPortfolioWatcher()
|
||||
|
||||
if bot.config.Webserver.Enabled {
|
||||
|
||||
Reference in New Issue
Block a user