{ "info": { "author": "Karan Sharma", "author_email": "karansharma1295@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Operating System :: POSIX", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "kite-history\n============\n\n|GitHub license| |saythanks|\n\n``kitehistory`` is a wrapper around `Kite Historical\nAPI `__\n\nInstallation :\n~~~~~~~~~~~~~~\n\n::\n\n pip install kitehistory\n\n|asciicast|\n\nOptions :\n~~~~~~~~~\n\n::\n\n --symbol Stock symbol of the instrument.\n --interval Time interval for the tick data.\n --from_date Start date indicating the start of records.\n --to_date End date indicating the end of records.\n --exchange Exchange Name. (MCX/NSE/BSE/NFO/CDS/BFO/MCXSX)\n --output Output filename to save `csv`\n --path Specify path to directory to store instruments master \n along with access token keys\n --verbose Enable verbose logging\n\nExample Usage :\n~~~~~~~~~~~~~~~\n\n::\n\n kitehistory -s TCS -i day -f 2017-05-15 -t 2017-06-05 -e NSE -o TCS.csv --verbose \n\n.. figure:: screens/tcs.png\n :alt: img\n\n img\nFirst Time Setup\n~~~~~~~~~~~~~~~~\n\n``kitehistory`` depends on Kite API to fetch instruments master file in\n``.csv``. You need to create an appllication at\nhttps://developers.kite.trade/apps and export the following keys in your\nshell\n\n::\n\n export KITE_API_KEY='your-kite-api-key'\n export KITE_SECRET='your-kite-secret-key'\n export KITE_REQUEST_TOKEN='your-kite-request-token'\n\nHow it works ?\n~~~~~~~~~~~~~~\n\nKite API requires instrument-token to fetch the historical data. The\nidea behind this wrapper is to fetch the instruments master file and\nquery it for the required symbol to fetch instrument token. Once the\ntoken is fetched, it uses Kite's API to get the historical data and\nsaves the output in a ``.csv`` ready for analysis etc.\n\nCredits\n-------\n\n- `pandas `__\n- `Kite API `__\n- `pykiteconnect `__\n- `requests `__\n\nContributing\n------------\n\nFeel free to report any issues and/or send PRs for additional features.\n\nLicense\n~~~~~~~\n\nMIT \u00a9 Karan Sharma `LICENSE included here `__\n\n.. |GitHub license| image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://raw.githubusercontent.com/mr-karan/kiteHistory/master/LICENSE\n.. |saythanks| image:: https://img.shields.io/badge/say-thanks-ff69b4.svg\n :target: https://saythanks.io/to/mr-karan\n.. |asciicast| image:: https://asciinema.org/a/.png\n :target: https://asciinema.org/a/", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mr-karan/kiteHistory/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "kitehistory", "package_url": "https://pypi.org/project/kitehistory/", "platform": "", "project_url": "https://pypi.org/project/kitehistory/", "project_urls": { "Homepage": "https://github.com/mr-karan/kiteHistory/" }, "release_url": "https://pypi.org/project/kitehistory/1.5/", "requires_dist": null, "requires_python": "", "summary": "Kite History API wrapper", "version": "1.5" }, "last_serial": 3577766, "releases": { "1.4": [ { "comment_text": "", "digests": { "md5": "cdcf43cca81ff675187256485b2e568f", "sha256": "1b8d454059f673987df6af741f8c9d32c354ead9a33bb41e3e59b06cbd16bd57" }, "downloads": -1, "filename": "kitehistory-1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "cdcf43cca81ff675187256485b2e568f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8950, "upload_time": "2017-06-11T05:15:14", "url": "https://files.pythonhosted.org/packages/d3/47/70cf34294bf46bd023cbf13fd910b41a8da797c81d2329d7ff8f4227a76e/kitehistory-1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92d6c6e55c12764563105800e3a1ba6c", "sha256": "9852db0289d35ce33335fedfe02b5d4bd0706729d3eeb7d53bc73044c10d9ce4" }, "downloads": -1, "filename": "kitehistory-1.4.tar.gz", "has_sig": false, "md5_digest": "92d6c6e55c12764563105800e3a1ba6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6776, "upload_time": "2017-06-11T05:15:17", "url": "https://files.pythonhosted.org/packages/35/7a/8d0c6b6a5cc404bf0139616a5629b3834c014448f6feb7f17996db1c8388/kitehistory-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "ef00673d471ed5ed351e57f3d87dab01", "sha256": "da49e0f8e869cc0c7ddc395bf1965e460747674f1dcb908bc9deb95924b9e552" }, "downloads": -1, "filename": "kitehistory-1.5.tar.gz", "has_sig": false, "md5_digest": "ef00673d471ed5ed351e57f3d87dab01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7108, "upload_time": "2018-02-13T09:54:42", "url": "https://files.pythonhosted.org/packages/bc/83/c6c8ced56e02afaa38305babbb13b6186ffe35b374a1edd6b41233840f37/kitehistory-1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ef00673d471ed5ed351e57f3d87dab01", "sha256": "da49e0f8e869cc0c7ddc395bf1965e460747674f1dcb908bc9deb95924b9e552" }, "downloads": -1, "filename": "kitehistory-1.5.tar.gz", "has_sig": false, "md5_digest": "ef00673d471ed5ed351e57f3d87dab01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7108, "upload_time": "2018-02-13T09:54:42", "url": "https://files.pythonhosted.org/packages/bc/83/c6c8ced56e02afaa38305babbb13b6186ffe35b374a1edd6b41233840f37/kitehistory-1.5.tar.gz" } ] }