From af92eb79d2d57a6a55462274d7bb875d474ed891 Mon Sep 17 00:00:00 2001 From: carlosmiei <43336371+carlosmiei@users.noreply.github.com> Date: Thu, 15 Dec 2022 15:30:13 +0000 Subject: [PATCH] fix empty OHLCV --- js/bybit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/bybit.js b/js/bybit.js index 814b63e883e2..091dbd64fba8 100644 --- a/js/bybit.js +++ b/js/bybit.js @@ -2049,7 +2049,7 @@ module.exports = class bybit extends Exchange { // } // const result = this.safeValue (response, 'result'); - const ohlcvs = this.safeValue (result, 'list'); + const ohlcvs = this.safeValue (result, 'list', []); return this.parseOHLCVs (ohlcvs, market, timeframe, since, limit); }