Merge pull request #624 from suttridge/develop

Contribution: Fixed mistake where maxTradesPerFetch was not being read from the exchange API settings.
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-03-05 18:46:17 +01:00
commit c7e1a960f9
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
}
}