Git Product home page Git Product logo

pyiqfeed's Introduction

pyiqfeed

Reads data from IQFeed (http://www.iqfeed.net).

Contains classes that can read market data from DTN's IQFeed service. You need a subscription to IQFeed or this won't work. This library is usually kept up to date to the current version of IQFeed.

Numpy is a dependency. Much of the data is returned as an numpy array or numpy structured array. If you are using python for trading you are probably using numpy in your trading code anyway so this should not be a big deal.

Most of the code is in the file conn.py. There is a class service.py that can launch the IQFeed service on a windows machine or a mac/unix machine so long as IQFeed has been installed using a recent version of Wine. You cannot install IQFeed in a Windows Virtual Machine on the same physical machine, it won't work.

For an example of how to use it do the following

Create a file in the same directory as example.py called passwords.py. In this file you must define 3 variables:

 
 dtn_product_id = "PRODUCT_ID_GIVEN_TO_YOU_BY_DTN_WHEN_YOU_SIGNED_UP_FOR_IQFEED"
 dtn_login="Your_IQFEED_LOGIN"
 dtn_password="Your_IQFEED_PASSWORD"
  

This exercises many different parts of the library. The best documentation for the library is just reading the file conn.py. Requires python 3.5

It works for me in live trading. A diligent effort will be made to squash any bugs reported to me. Bug reports which do not include a short, easy-to-use python script that reproduces the bug and an explanation of the bug will be ignored. Pull requests with bug-fixes and enhancements are greatly encouraged and appreciated.

pyiqfeed's People

Contributors

akapur avatar erickmiller avatar

Watchers

Miguel Ángel Vilariño avatar James Cloos avatar

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.