blueonion


Nameblueonion JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttp://54.169.163.141:8099/
SummaryA utility for crawling historical and Real-time Quotes data of China stocks
upload_time2022-12-02 13:29:53
maintainer
docs_urlNone
authorgmcheng
requires_python
licenseBSD
keywords global financial data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
blueonion
===============

.. image:: https://api.travis-ci.org/waditu/tushare.png?branch=master
    :target: https://travis-ci.org/waditu/tushare

.. image:: https://badge.fury.io/py/tushare.png
    :target: http://badge.fury.io/py/tushare

* easy to use as most of the data returned are pandas DataFrame objects
* can be easily saved as csv, excel or json files
* can be inserted into MySQL or Mongodb

Target Users
--------------

* financial market analyst of World
* learners of financial data analysis with pandas/NumPy
* people who are interested in financial data

Installation
--------------

    pip install blueonion
    
Upgrade
---------------

    pip install blueonion --upgrade
    
Quick Start
--------------

::

    import blueonion as ts
    
    pro = ts.pro_api('dfcf7cda6b195dc2966a4baeab0fcaea4b809edb6c10e70a')
    pro.query('esgData', isin='AEA006101017', pageSize=2, pageNo=2)
    pro.query('fundData', isin='AEA006101017')
    pro.query('equityData', isin='AEA006101017')

return::

                open    high   close     low     volume    p_change  ma5     
    date
    2012-01-11   6.880   7.380   7.060   6.880   14129.96     2.62   7.060
    2012-01-12   7.050   7.100   6.980   6.900    7895.19    -1.13   7.020
    2012-01-13   6.950   7.000   6.700   6.690    6611.87    -4.01   6.913
    2012-01-16   6.680   6.750   6.510   6.480    2941.63    -2.84   6.813
    2012-01-17   6.660   6.880   6.860   6.460    8642.57     5.38   6.822
    2012-01-18   7.000   7.300   6.890   6.880   13075.40     0.44   6.788
    2012-01-19   6.690   6.950   6.890   6.680    6117.32     0.00   6.770
    2012-01-20   6.870   7.080   7.010   6.870    6813.09     1.74   6.832
    



            

Raw data

            {
    "_id": null,
    "home_page": "http://54.169.163.141:8099/",
    "name": "blueonion",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Global Financial Data",
    "author": "gmcheng",
    "author_email": "chenggm2002@163.com",
    "download_url": "https://files.pythonhosted.org/packages/b2/55/6b0f4ac9663cc654773bd8a195841b764ead3fb7aab467bb7080b23563a9/blueonion-1.0.2.tar.gz",
    "platform": null,
    "description": "\nblueonion\n===============\n\n.. image:: https://api.travis-ci.org/waditu/tushare.png?branch=master\n    :target: https://travis-ci.org/waditu/tushare\n\n.. image:: https://badge.fury.io/py/tushare.png\n    :target: http://badge.fury.io/py/tushare\n\n* easy to use as most of the data returned are pandas DataFrame objects\n* can be easily saved as csv, excel or json files\n* can be inserted into MySQL or Mongodb\n\nTarget Users\n--------------\n\n* financial market analyst of World\n* learners of financial data analysis with pandas/NumPy\n* people who are interested in financial data\n\nInstallation\n--------------\n\n    pip install blueonion\n    \nUpgrade\n---------------\n\n    pip install blueonion --upgrade\n    \nQuick Start\n--------------\n\n::\n\n    import blueonion as ts\n    \n    pro = ts.pro_api('dfcf7cda6b195dc2966a4baeab0fcaea4b809edb6c10e70a')\n    pro.query('esgData', isin='AEA006101017', pageSize=2, pageNo=2)\n    pro.query('fundData', isin='AEA006101017')\n    pro.query('equityData', isin='AEA006101017')\n\nreturn::\n\n                open    high   close     low     volume    p_change  ma5     \n    date\n    2012-01-11   6.880   7.380   7.060   6.880   14129.96     2.62   7.060\n    2012-01-12   7.050   7.100   6.980   6.900    7895.19    -1.13   7.020\n    2012-01-13   6.950   7.000   6.700   6.690    6611.87    -4.01   6.913\n    2012-01-16   6.680   6.750   6.510   6.480    2941.63    -2.84   6.813\n    2012-01-17   6.660   6.880   6.860   6.460    8642.57     5.38   6.822\n    2012-01-18   7.000   7.300   6.890   6.880   13075.40     0.44   6.788\n    2012-01-19   6.690   6.950   6.890   6.680    6117.32     0.00   6.770\n    2012-01-20   6.870   7.080   7.010   6.870    6813.09     1.74   6.832\n    \n\n\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "A utility for crawling historical and Real-time Quotes data of China stocks",
    "version": "1.0.2",
    "split_keywords": [
        "global",
        "financial",
        "data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "6cc817ea9c1a4d878c92dfbf4d9c13a1",
                "sha256": "acd5aceb686cff5a6cca56103ea95b854f438fdef8c929e8303d43238306fe7c"
            },
            "downloads": -1,
            "filename": "blueonion-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6cc817ea9c1a4d878c92dfbf4d9c13a1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4194,
            "upload_time": "2022-12-02T13:29:51",
            "upload_time_iso_8601": "2022-12-02T13:29:51.217952Z",
            "url": "https://files.pythonhosted.org/packages/89/ba/14a0d24b80787b46cbddbe58aa311a0330459a47661718e19d83c8d1b37a/blueonion-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "745e611ba7aa8e0c07f392f2b6ac1c81",
                "sha256": "0c952be4c922ee89fc32c10593429787aeb1b53ae85e1eed45a5553341179af4"
            },
            "downloads": -1,
            "filename": "blueonion-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "745e611ba7aa8e0c07f392f2b6ac1c81",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3297,
            "upload_time": "2022-12-02T13:29:53",
            "upload_time_iso_8601": "2022-12-02T13:29:53.008921Z",
            "url": "https://files.pythonhosted.org/packages/b2/55/6b0f4ac9663cc654773bd8a195841b764ead3fb7aab467bb7080b23563a9/blueonion-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-02 13:29:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "blueonion"
}
        
Elapsed time: 0.01655s