mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-09 07:26:48 +00:00
bybit/buf: Fix test issues (#1073)
* bybit/buf: Fix issues * Update exchanges/bybit/futures_type.go Co-authored-by: Scott <gloriousCode@users.noreply.github.com> * Address nitters Co-authored-by: Scott <gloriousCode@users.noreply.github.com>
This commit is contained in:
@@ -464,7 +464,7 @@ func (by *Bybit) UpdateTickers(ctx context.Context, assetType asset.Item) error
|
||||
Bid: tick[y].BidPrice,
|
||||
Ask: tick[y].AskPrice,
|
||||
Volume: tick[y].Volume24h,
|
||||
Open: tick[y].OpenValue,
|
||||
Open: tick[y].OpenValue.Float64(),
|
||||
Pair: cp,
|
||||
ExchangeName: by.Name,
|
||||
AssetType: assetType})
|
||||
@@ -567,7 +567,7 @@ func (by *Bybit) UpdateTicker(ctx context.Context, p currency.Pair, assetType as
|
||||
Bid: tick[y].BidPrice,
|
||||
Ask: tick[y].AskPrice,
|
||||
Volume: tick[y].Volume24h,
|
||||
Open: tick[y].OpenValue,
|
||||
Open: tick[y].OpenValue.Float64(),
|
||||
Pair: cp,
|
||||
ExchangeName: by.Name,
|
||||
AssetType: assetType})
|
||||
|
||||
Reference in New Issue
Block a user