Giter Club home page Giter Club logo

Comments (5)

lacabra avatar lacabra commented on May 10, 2024

Adding more information about this issue:
the file that holds the benchmark (~/.catalyst/data/USDT_BTC_benchmark.csv) is empty

from catalyst.

ScottStevenson avatar ScottStevenson commented on May 10, 2024

Exact same issue here. I believe Zipline (which this is based on) had a similar issue when I tried to use it - due to either Google Finance or Yahoo Finance shutting down an API?

from catalyst.

rterbush avatar rterbush commented on May 10, 2024

This issue appears to be caused by failure of previous data handling ops. It can be worked around with the following procedure.

  1. Must use Python version 2.7.x due to some compatibility issues in file opens in curate/poloniex.py it appears.
  2. rm -rf /var/tmp/catalyst
  3. rm -rf ~/.catalyst
  4. catalyst ingest
  5. catalyst run ...

After chasing this around a bit, it seems that we are only checking for existence of files rather than whether the file has valid content before moving to next step of data curation.

from catalyst.

rterbush avatar rterbush commented on May 10, 2024

Changed the title of this issue since I have now recreated it on Linux.

If a catalyst run fails, it may leave an empty file in /var/tmp/catalyst/data/poloniex/crypto_prices-USDT_BTC.csv.

This empty file will prevent any future runs from succeeding. This appears to be because we are not handling an existing empty file error condition.

from catalyst.

lacabra avatar lacabra commented on May 10, 2024

Addressed in commit a01bcd5, which is part of 0.1.dev7 release: 20a98a3 in the master branch.

from catalyst.

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.