Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sacharbit opened this issue Apr 15, 2019 · 0 comments
Open

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

sacharbit opened this issue Apr 15, 2019 · 0 comments

Comments

@sacharbit
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant