Lu-Yi-Hsun / iqoptionapi

IQ Option API
374 stars 289 forks source link

Not getting the volume for all the historic data. #41

Closed JafferWilson closed 6 years ago

JafferWilson commented 6 years ago

@Lu-Yi-Hsun I am trying to fetch the historic data through your api. When I plotted them I came to see that there are volumes missing. Please let me know why I have the volumes for limited period and not all. See the image:
picturemessage_cnk51s1l yjg

Lu-Yi-Hsun commented 6 years ago

@JafferWilson I can not find where is missing

JafferWilson commented 6 years ago

Sure @Lu-Yi-Hsun , I will share data with you. Here is the example: missing The data is attached here:
MT5.zip Please let me know.

Lu-Yi-Hsun commented 6 years ago

sorry i do not know why.

you can print log to find what happen in there

JafferWilson commented 6 years ago

I am worried as the log may be too long to understand. I tried another methods like checking the values on IQO. I didn't find the entries there too. I don't know why is this happening. @Lu-Yi-Hsun Can you once check it?

Lu-Yi-Hsun commented 6 years ago

So you can not get that time data?

JafferWilson commented 6 years ago

That means my analysis will remain stuck up..... Is there nothing you can do?

JafferWilson commented 6 years ago

@Lu-Yi-Hsun Is there a way I can connect the real time candles in the MT5 using your API? Do your API returns the exact values? I have seen many a times there is a difference of 0.00005. May be more or less. But the difference is persistent which is not good. This happens when I tried to fetch the 60 seconds candle using your api. Please let me know.

Lu-Yi-Hsun commented 6 years ago

@JafferWilson you use "realtime candle" or "get candle"? "get candle " stuck?

JafferWilson commented 6 years ago

@JafferWilson you use "realtime candle" or "get candle"? "get candle " stuck?

I used "realtime candle"

Lu-Yi-Hsun commented 6 years ago

Yes “realtime candle” need to mix with “getcandle” function to fix that problem!

JafferWilson commented 6 years ago

Ok Thank you @Lu-Yi-Hsun. I think there is some problem with the IQO not with the API. Thank you for your assistance.

Lu-Yi-Hsun commented 6 years ago

@JafferWilson that my api problem! i will fix that QQ it need to mix get_candle and realtime candle

JafferWilson commented 6 years ago

@Lu-Yi-Hsun Thank you. If it works then it will be awesome. Please notify me if it worked. I am also watching the repository now.