GithubHelp home page GithubHelp logo

Download data is missing about oanda-api-v20 HOT 4 CLOSED

hootnot avatar hootnot commented on June 14, 2024
Download data is missing

from oanda-api-v20.

Comments (4)

hootnot avatar hootnot commented on June 14, 2024

Hi,
If data is missing you really should contact OANDA or see to fix this in another way since it is not a question that someway is related to software used to access OANDA's database.

If you run into this kind of thing, you can request records from a finer granularity and see if the gap is there also. Should be consistent. If there is no market activity, there is no record!

When you retrieve M5 or M1 records for the above timerange you see the gap in M5 also and for M1 goes the same.

From the examples you can run:

python src/candle-data.py --nice --from 2015-01-20T04:10:00Z --to 2015-01-20T06:30:00Z --price M --granularity M5 --instruments GBP_USD

If you need these gaps to be filled, fill the artificially. With Pandas this is pretty easy.

Feite

from oanda-api-v20.

ztt1 avatar ztt1 commented on June 14, 2024

@hootnot you mean if there are still existing gap when i retrieve M1 and M5 , the problem comes from Oanda database instead of my codes?

from oanda-api-v20.

hootnot avatar hootnot commented on June 14, 2024

OANDA gives you all the records they have for that timerange you specified. If there are records missing there has been no tick in that timerange. Therefore it is impossible to have records with a tick-volume = 0.
On M1 base you see a record at 04:48 and the next at 05:00. On a M10 timeframe 04:48 belongs to the 04:40 record, the one of 05:00 belongs obviously to the 05:00, so for M10 you have no 04:50 record.

OANDA's policy: no ticks, no record.

from oanda-api-v20.

ztt1 avatar ztt1 commented on June 14, 2024

@hootnot Thank you so much!!!!!!!!!!!!

from oanda-api-v20.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.