mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55: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"
|
||||
)
|
||||
|
||||
var fiatCurrencies = []string{"USDC", "USDT", "USD", "TWD", "EUR", "GBP"}
|
||||
|
||||
type StandardIndicatorSet struct {
|
||||
Symbol string
|
||||
// Standard indicators
|
||||
|
@ -560,7 +562,6 @@ func (session *ExchangeSession) FindPossibleSymbols() (symbols []string, err err
|
|||
}
|
||||
|
||||
var balances = session.Account.Balances()
|
||||
var fiatCurrencies = []string{"USDC", "USDT", "USD", "TWD", "EUR", "GBP"}
|
||||
var fiatAssets []string
|
||||
|
||||
for _, currency := range fiatCurrencies {
|
||||
|
|
Loading…
Reference in New Issue
Block a user