xueqiu api python client | 集成雪球API
Project description
pysnowball
===============
quick start
>>> import pysnowball as ball
>>> ball.set_token('xq_a_token=651af***************031c96a315c;u=9******')
>>> ball.cash_flow('SH600000')
{
'data': {
'quote_name': '浦发银行',
'currency_name': '人民币',
'org_type': 2,
'last_report_name': '2018三季报',
'currency': 'CNY',
'list': [{
'report_date': 1514649600000,
'report_name': '2017年报',
'ncf_from_oa': [-140673000000.0, 0.26730141203064695],
'ncf_from_ia': [37800000000.0, 1.590486604702023],
'ncf_from_fa': [4820000000.0, -0.9794317706599756
]
}, {
'report_date': 1483113600000,
'report_name': '2016年报',
'ncf_from_oa': [-191993000000.0, -1.5350677219775932],
'ncf_from_ia': [-64015000000.0, 0.8794943714468582
],
'ncf_from_fa': [234342000000.0, -0.042650194867269654]
}, {
'report_date': 1451491200000,
'report_name': '2015年报',
'ncf_from_oa': [358820000000.0, 0.8770859707676373],
'ncf_from_ia': [-531220000000.0, -0.5512111080287921],
'ncf_from_fa': [244782000000.0, 2.357915963619902]
}, {
'report_date': 1419955200000,
'report_name': '2014年报',
'ncf_from_oa': [191158000000.0, -0.3801741859756295],
'ncf_from_ia': [-342455000000.0, -0.08702069578466226],
'ncf_from_fa ': [72897000000.0, 4.966967784066173]
}, {
'report_date ': 1388419200000,
'report_name ': '2013 年报 ',
'ncf_from_oa ': [308406000000.0, 2.3313098144267537],
'ncf_from_ia ': [-315040000000.0, -1.2059925355889953],
'ncf_from_fa ': [-18376000000.0, -1.6123496284447998]
}
]},
'error_code ': 0,
'error_description': ''
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysnowball-0.1.8.tar.gz
(28.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysnowball-0.1.8.tar.gz.
File metadata
- Download URL: pysnowball-0.1.8.tar.gz
- Upload date:
- Size: 28.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9166448f5e8142b96a8004f7362eaafae0192e61bf8a042f6ac48f2c8f6a660a
|
|
| MD5 |
a799d619535eebe898d137bc83e898fe
|
|
| BLAKE2b-256 |
a0bf8af34d6bf7fed0be465d3964775272e6d5135a42386cec67582def9e9b46
|
File details
Details for the file pysnowball-0.1.8-py3-none-any.whl.
File metadata
- Download URL: pysnowball-0.1.8-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1073bdfb77636cbc598535602fa6778e031118aee4bd00a1354e2e000763e2fc
|
|
| MD5 |
dc8036cb264c70bff4133b4d7ea116e1
|
|
| BLAKE2b-256 |
ef898b07f8714b60739575ff110e54085e32e0784e20f1bc412899e876fa8919
|