mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
move fiat currency definition out
This commit is contained in:
parent
1264c50e83
commit
584a4c2ef8
|
@ -15,6 +15,8 @@ import (
|
||||||
"github.com/c9s/bbgo/pkg/util"
|
"github.com/c9s/bbgo/pkg/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var fiatCurrencies = []string{"USDC", "USDT", "USD", "TWD", "EUR", "GBP"}
|
||||||
|
|
||||||
type StandardIndicatorSet struct {
|
type StandardIndicatorSet struct {
|
||||||
Symbol string
|
Symbol string
|
||||||
// Standard indicators
|
// Standard indicators
|
||||||
|
@ -560,7 +562,6 @@ func (session *ExchangeSession) FindPossibleSymbols() (symbols []string, err err
|
||||||
}
|
}
|
||||||
|
|
||||||
var balances = session.Account.Balances()
|
var balances = session.Account.Balances()
|
||||||
var fiatCurrencies = []string{"USDC", "USDT", "USD", "TWD", "EUR", "GBP"}
|
|
||||||
var fiatAssets []string
|
var fiatAssets []string
|
||||||
|
|
||||||
for _, currency := range fiatCurrencies {
|
for _, currency := range fiatCurrencies {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user