{ "info": { "author": "zsm", "author_email": "whoknows@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet", "Topic :: Multimedia :: Video", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "========================\nsecudata 0.1.5\n========================\nA Python library for getting *security data* of *China*.\n\n------------------------\nInstallation\n------------------------\n- *pip install secudata*\n\n------------------------\nFunction Introduction\n------------------------\n::\n\n def getData(symbol=None, start=None, end=None,ktype='D', autype='normal', retry_count=3, pause=0.05):\n \u83b7\u53d6\u80a1\u7968\u5f53\u65e5\u4ea4\u6613\u8bb0\u5f55\n Parameters:\n symbol: string\n \u80a1\u7968\u6807\u8bc6 e.g. SH600000\n start: string\n \u5f00\u59cb\u65e5\u671f format\uff1aYYYY-MM-DD \u4e3a\u7a7a\u65f6\u9ed8\u8ba4\u4e3aAPI\u6700\u65e9\u65e5\u671f, \u5206\u949f\u6570\u636e\u4e2d\u6ca1\u6709\u4f5c\u7528\n end: string\t\t\n \u7ed3\u675f\u65e5\u671f format\uff1aYYYY-MM-DD \u4e3a\u7a7a\u65f6\u53bb\u6700\u8fd1\u4e00\u4e2a\u4ea4\u6613\u65e5\uff0c\u5206\u949f\u6570\u636e\u4e2d\u6ca1\u6709\u4f5c\u7528\n ktype\uff1astring\n \u6570\u636e\u7c7b\u578b\uff0cD=\u65e5k\u7ebf W=\u5468 M=\u6708 1=1\u5206\u949f 5=5\u5206\u949f 15=15\u5206\u949f 30=30\u5206\u949f 60=60\u5206\u949f\uff0c\u9ed8\u8ba4\u4e3aD\n autype:string\n \u590d\u6743\u7c7b\u578b\uff0cbefore-\u524d\u590d\u6743 after-\u540e\u590d\u6743 normal-\u4e0d\u590d\u6743\uff0c\u9ed8\u8ba4\u4e3anormal\n retry_count: int, \u9ed8\u8ba4 3\n \u5982\u679c\u9047\u5230\u7f51\u7edc\u7b49\u95ee\u9898\u91cd\u590d\u6267\u884c\u7684\u6b21\u6570\n pause: int, \u9ed8\u8ba4 0.05\n \u91cd\u590d\u8bf7\u6c42\u6570\u636e\u8fc7\u7a0b\u4e2d\u6682\u505c\u7684\u79d2\u6570, \u9632\u6b62\u8bf7\u6c42\u95f4\u9694\u592a\u77ed\u51fa\u73b0\u95ee\u9898\n Return:\n DataFrame:\n \u5c5e\u6027:\u65e5\u671f \uff0c\u5f00\u76d8\u4ef7\uff0c \u6700\u9ad8\u4ef7\uff0c \u6536\u76d8\u4ef7\uff0c \u6700\u4f4e\u4ef7\uff0c \u6210\u4ea4\u91cf\uff0c \u4ef7\u683c\u53d8\u52a8 \uff0c\u6da8\u8dcc\u5e45\uff0c5\u65e5\u5747\u4ef7\uff0c10\u65e5\u5747\u4ef7\uff0c20\u65e5\u5747\u4ef7\uff0c30\u65e5\u5747\u4ef7\uff0c\u6362\u624b\u7387\uff0c\u6210\u4ea4\u989d\n \u7d22\u5f15:\u65e5\u671f\n\n------------------------\nQuick Start\n------------------------\n::\n\n import secudata as sd\n sd.getData('SH000001')\n\n::\n\n return:\n DataFrame:\n \u5c5e\u6027:\u65e5\u671f \uff0c\u5f00\u76d8\u4ef7\uff0c \u6700\u9ad8\u4ef7\uff0c \u6536\u76d8\u4ef7\uff0c \u6700\u4f4e\u4ef7\uff0c \u6210\u4ea4\u91cf\uff0c \u4ef7\u683c\u53d8\u52a8 \uff0c\u6da8\u8dcc\u5e45\uff0c5\u65e5\u5747\u4ef7\uff0c10\u65e5\u5747\u4ef7\uff0c20\u65e5\u5747\u4ef7\uff0c30\u65e5\u5747\u4ef7\uff0c\u6362\u624b\u7387\uff0c\u6210\u4ea4\u989d\n \n \u7d22\u5f15:\u65e5\u671f\n\n-------------------------\nRequire_package\n-------------------------\n- pandas", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "secudata", "package_url": "https://pypi.org/project/secudata/", "platform": "", "project_url": "https://pypi.org/project/secudata/", "project_urls": null, "release_url": "https://pypi.org/project/secudata/0.1.5/", "requires_dist": null, "requires_python": "", "summary": "A Python library for getting security data.", "version": "0.1.5" }, "last_serial": 3470934, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "76eb83f0fddc23199c24246a24539f6e", "sha256": "9d6ca5a20b200402233dd6b5643686335bc10de4ade4fc14f45e70b51a3f3f90" }, "downloads": -1, "filename": "secudata-0.1.0.tar.gz", "has_sig": false, "md5_digest": "76eb83f0fddc23199c24246a24539f6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4292, "upload_time": "2017-12-27T06:37:03", "url": "https://files.pythonhosted.org/packages/2c/b9/5872903b7a3ac8f84f583e205984e597e8b207f01dbe022143dfbf74f27a/secudata-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3fbd75a0f2f1b32d8719404e2950d06d", "sha256": "e6390d34611207c95f83af263176b24569324792988744d95dbd7bea29bf661d" }, "downloads": -1, "filename": "secudata-0.1.2.tar.gz", "has_sig": false, "md5_digest": "3fbd75a0f2f1b32d8719404e2950d06d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4273, "upload_time": "2017-12-27T06:43:01", "url": "https://files.pythonhosted.org/packages/2c/8a/9beaeca49ecd841d9845e2dc700b7023f3ff5f7c163f19270d8fb145f5b3/secudata-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "c318393e05a78eb1af477a645db03b21", "sha256": "caae9c97d5991c2ae39253ac52961ee037f37d90c78078150ab918166cd1c8f7" }, "downloads": -1, "filename": "secudata-0.1.3.tar.gz", "has_sig": false, "md5_digest": "c318393e05a78eb1af477a645db03b21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4375, "upload_time": "2017-12-27T07:14:48", "url": "https://files.pythonhosted.org/packages/be/94/600053c0989c82f782eb85cddc7bd1448607b094506f5993f7cdd10934fd/secudata-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "50ce3184cb77a838ffaedf99253be451", "sha256": "e3e1d5fc30fa12c6f3fdfcd6b312b217d34e4d620148b70cbe251db65e0f5b1a" }, "downloads": -1, "filename": "secudata-0.1.4.tar.gz", "has_sig": false, "md5_digest": "50ce3184cb77a838ffaedf99253be451", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4256, "upload_time": "2018-01-08T13:01:25", "url": "https://files.pythonhosted.org/packages/a6/b7/53967e01b9115a00ea63bac18d94c3618e617f6fa08627c5664ee0d52d16/secudata-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "0f855834c1521948eb487eb0ca7ce8a5", "sha256": "a21a956d0a61691e3d4c269142e1a50f1fdadbc2e2450505888daec44f099816" }, "downloads": -1, "filename": "secudata-0.1.5.tar.gz", "has_sig": false, "md5_digest": "0f855834c1521948eb487eb0ca7ce8a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4210, "upload_time": "2018-01-08T13:18:42", "url": "https://files.pythonhosted.org/packages/ab/a3/85507e69bdc1e94efada3ee449b0092d161697d4922821b65b3049796434/secudata-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0f855834c1521948eb487eb0ca7ce8a5", "sha256": "a21a956d0a61691e3d4c269142e1a50f1fdadbc2e2450505888daec44f099816" }, "downloads": -1, "filename": "secudata-0.1.5.tar.gz", "has_sig": false, "md5_digest": "0f855834c1521948eb487eb0ca7ce8a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4210, "upload_time": "2018-01-08T13:18:42", "url": "https://files.pythonhosted.org/packages/ab/a3/85507e69bdc1e94efada3ee449b0092d161697d4922821b65b3049796434/secudata-0.1.5.tar.gz" } ] }