Comments Updated

This commit is contained in:
Luis Fernando Molina committed 2019-04-01 11:08:51 +02:00
1 parent 1983ed3ca6
commit 7466493d44
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -546,7 +546,7 @@ This process complements the Live Trades process and write historical trades fil
let currentProcessMinute = Math.trunc(currentDate.valueOf() / 1000 / 60);
let firstProcessMinute = currentProcessMinute;
/* We will iterate through all the records received from the exchange. We know Poloniex sends the older records first, so this is going to be going back in time as we advance. */
/* We will iterate through all the records received from the exchange. We expect the exchange API to return the records ordered by ID DESC so we change it to ASC. So this is going to be going back in time as we advance. */
for (let i = 0; i < tradesRequested.length; i++) {
+1 -1
View File
@@ -909,7 +909,7 @@
let currentProcessMinute = Math.trunc(holeFinalDatetime.valueOf() / 1000 / 60); // Number of minutes since the begining of time, where the process is pointing to.
let holeStartsMinute = Math.trunc(holeInitialDatetime.valueOf() / 1000 / 60); // Number of minutes since the begining of time, where the hole started.
/* We will iterate through all the records received from the exchange. We know Poloniex sends the older records first, so this is going to be going back in time as we advance. */
/* We will iterate through all the records received from the exchange. // We expect the exchange API to return the records ordered by ID DESC so we change it to ASC. So this is going to be going back in time as we advance. */
for (let i = 0; i < tradesRequested.length; i++) {
+2 -2
View File
@@ -200,7 +200,7 @@
for (i = 0; i < exchangeResponse.length; i++) {
let record = exchangeResponse[exchangeResponse.length - 1 - i]; // In Poloniex the order of the records is by date DESC so we change it to ASC
let record = exchangeResponse[exchangeResponse.length - 1 - i]; // We expect the exchange API to return the records ordered by ID DESC so we change it to ASC
const trade = {
tradeIdAtExchange: record.tradeID,
@@ -267,7 +267,7 @@
for (i = 0; i < exchangeResponse.length; i++) {
let record = exchangeResponse[exchangeResponse.length - 1 - i]; // In Poloniex the order of the records is by date DESC so we change it to ASC
let record = exchangeResponse[exchangeResponse.length - 1 - i]; // We expect the exchange API to return the records ordered by ID DESC so we change it to ASC
const trade = {
tradeIdAtExchange: record.tradeID,
+2 -2
View File
@@ -105,8 +105,8 @@
"startMode": {
"allMonths": {
"run": "true",
"minYear": "2018",
"maxYear": "2019"
"minYear": "2019",
"maxYear": "2021"
},
"oneMonth": {
"run": "false",