GithubHelp home page GithubHelp logo

juliuskittler / iex_historical-prices Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 34.0 13 KB

This repo contains a script for regularly downloading all historic intraday OHCL data from IEX with Python, asynchronously, via API and for free.

License: MIT License

Python 100.00%

iex_historical-prices's People

Contributors

juliuskittler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iex_historical-prices's Issues

Downloading data for only one TICKER

Great script!

But i have a question: how i can change the code to download only one ticker data?
At the begining i do not need all avaiable tickers.

ICO week badly matching date at change of year

Love the script!

Issue I'm sure everyone has faced recently is this:

A day's files are put in a directory named YYYY-CWww where ww is the week's number in ISO calendar. However, the ISO calendar doesn't line up well with the normal calendar around the change of the year: (https://www.youtube.com/watch?v=D3jxx8Yyw1c)
ISO always starts the year on a Monday. So Mon 30th Dec 2019 was, in ISO, 1st day of 1st week of 2020.

Usually this is not a problem but for the two days of Monday and Tuesday 30th & 31st Dec, the script tries to save the files for those days in 2019-CW1 because it gets the week number from the ISO calendar, but the year from the normal calendar. I suggest either changing the year handling to be ISO, or put in a check so that if the month is December and the ISO week is 1, then set the ISO week to 53 (although I think some ISO years already have 53 weeks in them so it might be more complicated).

Thanks!

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.