Skip to content

histPrc doesn't give the data in the date range I want #4

Description

@sacharbit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions