{ "info": { "author": "Tibor Kiss", "author_email": "tibor.kiss@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2.7", "Topic :: Office/Business :: Financial :: Investment" ], "description": "IQFeed/DTN Downloader\n=====================\n\nThis project provides command line tool and Python library to access DTN\n/ IQFeed's historical data for equities. The provided command line tool\n('iqfeed') is capable downloading 1 minute historical data from IQFeed\nclient and store it in '.csv.gz' format.\n\nPrerequisites\n-------------\n\n- Python 2.7 (`pypy `__ is recommended), DocOpt, PyTZ,\n backports.functools\\_lru\\_cache\n- IQFeed account\n- IQFeed client (e.g. `bratchenko's\n 'iqfeed-docker' `__)\n\nInstallation\n------------\n\n``$ pip install iqfeed``\n\nUsage from command line\n-----------------------\n\nThe provided ``iqfeed`` utility can be used to download CSV files from\nDTN / IQFeed.\n\nHelp screen:\n\n::\n\n iqfeed: Data downloader for Iqfeed/DTN\n Tibor Kiss - Copyright (c) 2012-2016 All rights reserved\n\n Usage:\n iqfeed process-file [-d DIR] [-i CON] [-t TZ] [-D]\n iqfeed download [-d DIR] [-i CON] [-t TZ] [-D]\n iqfeed -h | --help\n\n Commands:\n download Download the specified instrument\n get-from-file Download instruments listed in the specified file\n\n Options:\n -d DIR --download-dir DIR Directory where the files will be downloaded [default: .]\n -i CON --iqfeed CON IQFeed host & port [default: localhost:9100]\n -t TZ --tz TZ Time zone [default: US/Eastern]\n -D Debug mode\n -h Help screen\n\n Note:\n Date format for end_date and start_date: YYYYMMDD\n\nStart IQFeed client\n~~~~~~~~~~~~~~~~~~~\n\n``$ docker run -e LOGIN='' -e PASSWORD='' -p 5009:5010 -p 9100:9101 bratchenko/iqfeed``\n\nDownload single instrument (SPY) for the time period 2010-2016\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n``$ iqfeed download SPY 2010 2016``\n\nDownload multiple instruments listed in a text file\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n``$ iqfeed process-file russell-3000.lst 2016 2016``\n\nUsage from Python\n-----------------\n\nUse the following snippet to obtain list of Bar objects.\n\n.. code:: python\n\n import pytz\n from iqfeed import get_bars\n\n instrument = 'GLD'\n start_date = '20150101'\n end_date = '20151231'\n tz = pytz.timezone('US/Eastern')\n seconds_per_bar = 60 # For 1M data\n iqfeed_host = 'localhost'\n iqfeed_port = 9100\n\n bars = get_bars(instrument, start_date, end_date, tz, seconds_per_bar, iqfeed_host, iqfeed_port)\n\nThe Bar object is a named tuple which holds the Open, High, Low, Close\nand Volume values for the given time:\n\n.. code:: python\n\n IQFeedBar(datetime=datetime.datetime(2015, 1, 2, 9, 30, tzinfo=), open=112.46, high=112.46, low=112.45, close=112.46, volume=192104)\n\nLicense\n-------\n\n`Apache License Version 2.0 `__", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/tibkiss/iqfeed", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "iqfeed", "package_url": "https://pypi.org/project/iqfeed/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/iqfeed/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/tibkiss/iqfeed" }, "release_url": "https://pypi.org/project/iqfeed/0.4.3/", "requires_dist": null, "requires_python": null, "summary": "IQFeed / DTN Data downloader", "version": "0.4.3" }, "last_serial": 2207251, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "22119fc099ee67e75d1548ee7ad2bd4b", "sha256": "c6d4f3cc1480e5a09027ac5c375a0665f3cad5ae4588bb872770ba8c60b9b970" }, "downloads": -1, "filename": "iqfeed-0.4.tar.gz", "has_sig": false, "md5_digest": "22119fc099ee67e75d1548ee7ad2bd4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5941, "upload_time": "2016-07-06T21:04:06", "url": "https://files.pythonhosted.org/packages/8c/0a/f6857759ab5967f042430f7df656324563b909f2493f5e9b3c6e3d94b85b/iqfeed-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "0c78db39aef1aa082f59c943980300d5", "sha256": "721f3a84913c4a16a48dcc372ff50fe4bca41b4c667a6efe755b0330dcb71e45" }, "downloads": -1, "filename": "iqfeed-0.4.1.tar.gz", "has_sig": false, "md5_digest": "0c78db39aef1aa082f59c943980300d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5979, "upload_time": "2016-07-07T05:12:57", "url": "https://files.pythonhosted.org/packages/8b/9b/f2f101cdf338aaf67e03c498f449830ddce1ef388986bb9774fd7e13b090/iqfeed-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "25a713a77fbdb922d536eb0e876607d7", "sha256": "f8c3c827f2c59baf09b72bf8ffe6cfc82d0db55dccaab2d0fa3027cb5d68693e" }, "downloads": -1, "filename": "iqfeed-0.4.2.tar.gz", "has_sig": false, "md5_digest": "25a713a77fbdb922d536eb0e876607d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5978, "upload_time": "2016-07-07T05:20:43", "url": "https://files.pythonhosted.org/packages/cf/4f/d6124ece886258d0fc4c3bad68444d862dd6c4940c56f580ab764d07c0bf/iqfeed-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "acc42006778b63a9504e1cef7e04e6e8", "sha256": "d6dcf3e7b4a3ce227903f59364bd9f66ff7130a83a7f4e472bfdf4a12cd1e1fe" }, "downloads": -1, "filename": "iqfeed-0.4.3.tar.gz", "has_sig": false, "md5_digest": "acc42006778b63a9504e1cef7e04e6e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10187, "upload_time": "2016-07-07T05:31:40", "url": "https://files.pythonhosted.org/packages/0a/4d/f14c597c0accde9583577933e3e62b5948b6c73b33866ad9b55aa6bda141/iqfeed-0.4.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "acc42006778b63a9504e1cef7e04e6e8", "sha256": "d6dcf3e7b4a3ce227903f59364bd9f66ff7130a83a7f4e472bfdf4a12cd1e1fe" }, "downloads": -1, "filename": "iqfeed-0.4.3.tar.gz", "has_sig": false, "md5_digest": "acc42006778b63a9504e1cef7e04e6e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10187, "upload_time": "2016-07-07T05:31:40", "url": "https://files.pythonhosted.org/packages/0a/4d/f14c597c0accde9583577933e3e62b5948b6c73b33866ad9b55aa6bda141/iqfeed-0.4.3.tar.gz" } ] }