Giter Site home page Giter Site logo

iqfeed's People

Contributors

tibkiss 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

Watchers

 avatar  avatar  avatar  avatar

iqfeed's Issues

1minute bar range issue

Hi, thanks for putting this nice feature together. In an attempt to verify the result, I noticed that the function get_bars in download.py use time filter 09:29 to 15:59, i think (only based on observation), the minute bar in IQFeed means the bar from previous defined seconds up to that time. In our case, 09:30 bar means data from 09:29 to 09:30 and 15:59 means bar from 15:58 to 15:59. The drawback of it is that if we aggregate the minute bars to get daily open and close, the numbers are not accurate. I used the following (TICKER: EWZ) as a test, here is two lines I get from the file:
DateTime,Open,High,Low,Close,Volume
20161104 093000,35.55,35.55,35.55,35.55,138622
20161104 093100,35.53,35.545,35.39,35.41,678595
20161104 155900,35.355,35.37,35.34,35.345,18997559

if we check google or yahoo for 20161104 open and close, i have the following:
Date Open High Low Close Volume
Nov 4, 2016 35.53 36.11 35.18 35.36 20,544,162

You can see that the Open is what we have on 20161104093100 and the Close is not matched.
I believe simply change the filter time to 0930 and 1600 will solve this problem.

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.