mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
Expand RetrieveConfigCurrencyPairs to support different asset types
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
"github.com/thrasher-corp/gocryptotrader/config"
|
||||
"github.com/thrasher-corp/gocryptotrader/currency"
|
||||
"github.com/thrasher-corp/gocryptotrader/exchanges/asset"
|
||||
"github.com/thrasher-corp/gocryptotrader/exchanges/bitfinex"
|
||||
"github.com/thrasher-corp/gocryptotrader/portfolio"
|
||||
)
|
||||
@@ -95,7 +96,7 @@ func main() {
|
||||
Subtotal float64
|
||||
}
|
||||
|
||||
cfg.RetrieveConfigCurrencyPairs(true)
|
||||
cfg.RetrieveConfigCurrencyPairs(true, asset.Spot)
|
||||
portfolioMap := make(map[currency.Code]PortfolioTemp)
|
||||
total := float64(0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user