Giter VIP home page Giter VIP logo

qdownload's People

Contributors

dependabot[bot] avatar nhedlund 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

Watchers

 avatar  avatar

qdownload's Issues

Request feature: Ability to specify interval bars other than time

Would really appreciate it if you could include the feature to specify the interval type, to download interval bars (eg. new bar every 100 shares traded).

eg. qdownload -v 100 aapl
would download a csv with a new OHLC row after every 100 shares traded

[IntervalType] - Optional - 's' (default) for time intervals in seconds, 'v' for volume intervals, 't' for tick intervals

It's already implemented in the IQFeed developer API for historical data.

Compile issues due to changes in urfave/cli

Currently building will fail with >v1 of urfave/cli. Quick fix is changing the import to "gopkg.in/urfave/cli.v1" without any other code changes.

But didn't want to send that in a pull in case you'd prefer to update the script instead. (I'm not a Go programmer for the most part...and I failed at a stab in updating it the v2/3.)

one hour shift when downloading with different timezones

problem

When downloading the same data from iqfeed with different timezones, e.g. -z UTC vs without option, there is a one hour time difference.

architecture

Ubuntu 20.04 LTS minimal, x86_64

steps to reproduce

qdownload -o EST --start 20210515 interval 300 seconds AAL
qdownload -z UTC -o UTC --start 20210515 interval 300 seconds AAL

and run attached python script.

sample output

Difference
TimedeltaIndex(['0 days 01:00:00', '0 days 01:00:00', '0 days 01:00:00',
                '0 days 01:00:00', '0 days 01:00:00', '0 days 01:00:00',
                '0 days 01:00:00', '0 days 01:00:00', '0 days 01:00:00',
                '0 days 01:00:00'],


               dtype='timedelta64[ns]', name='datetime', freq=None)

tz_investigation.zip

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.