Coder Social home page Coder Social logo

Comments (4)

thaaddeus avatar thaaddeus commented on May 23, 2024

Hi, yes right now, there's no cleanup function, so you'd have to remove/clear cache as needed.
Also in general it's much more efficient to request data for multiple symbols at once, vs one-by-one (it will also create less files).

from tardis-python.

manos avatar manos commented on May 23, 2024

Thanks for the reply @thaaddeus! The issue with fetching multiple symbols is that if one doesn't have data at the --start date, the API doesn't just return what it has, it throws an error.
I could sort by that, e.g. bucket everything together that has data for my desired 60-day range (for example), and fetch those together.

from tardis-python.

thaaddeus avatar thaaddeus commented on May 23, 2024

Actually it should still return what is available at a given day (CSV downloads would fail indeed). Can you share the sample payload that would case this issue for you by any chance? I'll investigate.

from tardis-python.

manos avatar manos commented on May 23, 2024

Oh indeed, you're right - I was thinking of when I was calling the API directly. I've restructured as you recommended and fetched 60 days of all FTX PERP symbols in a few hours. InfluxDB is happily full of data :)
Much better; thanks for the help!

from tardis-python.

Related Issues (8)

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.