Skip to content

Commit

Permalink
Change trader method name
Browse files Browse the repository at this point in the history
  • Loading branch information
heyphat committed Feb 16, 2022
1 parent 9067686 commit cdcefd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/market/market.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ func (m *MarketStruct) Balances(market string) (map[string]string, error) {
}
out := make(map[string]string)
if mk == runner.Cash {
balances := m.trader.getBinSpotBalances()
balances := m.trader.binSpotGetBalances()
for _, bl := range balances {
out[bl.Asset] = big.NewFromString(bl.Free).Add(big.NewFromString(bl.Locked)).FormattedString(5)
}
Expand Down

0 comments on commit cdcefd7

Please sign in to comment.