Fixed mistake where maxTradesPerFetch was not being read from the exchange API settings.

This commit is contained in:
Steve Langridge committed 2021-03-05 16:45:15 +02:00
1 parent a3b5249563
commit 02fee7ba8e
1 file changed
+1 -1
@@ -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
}
}