Bug: Monthly Data Request

Moderator: Moderator

Bug: Monthly Data Request

Postby reach4thelasers » Sun Dec 18, 2016 5:13 pm

The following request fails for me:

instrument: EUR/USD
timeframe: M1 (monthly)
from: 30/12/1899 00:00:00
to: 05/12/2016 00:00:00
quotesCount: 1000

Reason='unsupported scope', Description=No data found for symbolID=1, interval=800, startTimeStamp=20161130-22:00:00, endTimeStamp=20161231-22:00:01!

I am basically trying to get 1000 monthly bars up to 5/12/2016. It seems that the request can't handle the fact that the month isn't over yet.

The exact same request for a date in November returns me 283 bars starting at 30/04/1993 and ending at 31/10/2016 - Not sure why its giving me up to End of October. Does the November bar start on 31/10/2016? If not this might be another bug.

I can get around the December issue, but need to write an edge-case into my code.
reach4thelasers
 
Posts: 5
Joined: Fri Apr 15, 2016 1:58 pm

Re: Bug: Monthly Data Request

Postby Alexey.Pechurin » Tue Dec 20, 2016 7:46 am

Hello,

Thank you for report. We'll investigate this problem and I will report about results.

Alexey
Alexey.Pechurin
 
Posts: 98
Joined: Sun Jul 22, 2012 11:26 pm


Return to Price History API

Who is online

Users browsing this forum: No registered users and 2 guests

cron