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:
Adrian Gallagher
2022-11-04 09:33:24 +11:00
committed by GitHub
parent 136dac8152
commit b578d2d76e
7 changed files with 142 additions and 277 deletions

View File

@@ -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})