Skip to content

Commit

Permalink
Bugfix in GetLatestCryptoPerpBars
Browse files Browse the repository at this point in the history
  • Loading branch information
chathumi-k committed Dec 13, 2024
1 parent afbb472 commit f3d34a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marketdata/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ func (c *Client) GetLatestCryptoPerpBars(
return nil, err
}
perpsBars := make(map[string]CryptoPerpBar, len(bars))
for symbol, bar := range perpsBars {
for symbol, bar := range bars {
perpsBars[symbol] = CryptoPerpBar(bar)
}

Expand Down

0 comments on commit f3d34a3

Please sign in to comment.