mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
pull out BNB currency string
This commit is contained in:
parent
ea78c0308b
commit
016c60796d
|
@ -19,6 +19,8 @@ import (
|
|||
"github.com/c9s/bbgo/pkg/util"
|
||||
)
|
||||
|
||||
const BNB = "BNB"
|
||||
|
||||
var log = logrus.WithFields(logrus.Fields{
|
||||
"exchange": "binance",
|
||||
})
|
||||
|
@ -394,9 +396,8 @@ func (e *Exchange) QueryAccountBalances(ctx context.Context) (types.BalanceMap,
|
|||
return account.Balances(), nil
|
||||
}
|
||||
|
||||
// PlatformFeeCurrency
|
||||
func (e *Exchange) PlatformFeeCurrency() string {
|
||||
return "BNB"
|
||||
return BNB
|
||||
}
|
||||
|
||||
func (e *Exchange) QueryAccount(ctx context.Context) (*types.Account, error) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user