From 02fee7ba8e534d5185913cc4677e600b085f0247 Mon Sep 17 00:00:00 2001 From: Steve Langridge Date: Fri, 5 Mar 2021 16:45:15 +0200 Subject: [PATCH] Fixed mistake where maxTradesPerFetch was not being read from the exchange API settings. --- .../Bot-Modules/Sensor-Bot/Exchange-Raw-Data/HistoricOHLCVs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/Superalgos/TS/Bot-Modules/Sensor-Bot/Exchange-Raw-Data/HistoricOHLCVs.js b/Projects/Superalgos/TS/Bot-Modules/Sensor-Bot/Exchange-Raw-Data/HistoricOHLCVs.js index 31580a179..c331e30bf 100644 --- a/Projects/Superalgos/TS/Bot-Modules/Sensor-Bot/Exchange-Raw-Data/HistoricOHLCVs.js +++ b/Projects/Superalgos/TS/Bot-Modules/Sensor-Bot/Exchange-Raw-Data/HistoricOHLCVs.js @@ -105,7 +105,7 @@ exports.newSuperalgosBotModulesHistoricOHLCVs = function (processIndex) { } if (API.useFetchTradesForFetchOHLCVs !== undefined) { useFetchTradesForFetchOHLCVs = API.useFetchTradesForFetchOHLCVs - if (API.maxExchangeTrades !== undefined) { + if (API.maxTradesPerFetch !== undefined) { maxTradesPerFetch = API.maxTradesPerFetch } }