Hello,
I have this code :
ig.histPrc("CS.D.EURUSD.CFD.IP", "MINUTE", "2019-04-12T08:00:00", "2019-04-14T19:00:00")
.then(function(res, err){
if(!err){
fs.writeFileSync("data.json", JSON.stringify(res));
}
else {
console.log(err)
}
})
Even though I have the correct date format (taken from the documentation), I can't get the data from the date range I'm looking for, I just get the 10 most recent data points.
How can I have the data for a specific date range?
Thanks in advance.
Hello,
I have this code :
Even though I have the correct date format (taken from the documentation), I can't get the data from the date range I'm looking for, I just get the 10 most recent data points.
How can I have the data for a specific date range?
Thanks in advance.