# starviewshare
观星量化--开源金融量化数据接口
[starviewshare](https://github.com/rchardzhu/starviewshare) 中文名为观星量化, 是一个用于获取股票、ETF、期货数据的免费开源 Python 库。
特点:
* 只需一行代码,可以自由切换底层数据源
* 基于akshare、efinance、miniqmt打造
* 免费开源
欢迎关注微信公众号"Python量化实战",与您分享更多资源和信息。关注后回复加群可以与小伙伴们一起讨论问题、贡献代码
## Installation
- 通过 `pip` 安装
```bash
pip install starviewshare
```
- 通过 `pip` 更新
```bash
pip install starviewshare --upgrade
```
## Examples
- 验证安装是否成功:输出starviewshare版本
```python
import starviewshare as svs
print(svs.__version__)
```
### stock
- 股票龙虎榜
```python
import starviewshare as svs
svs.stock.get_daily_billboard()
start_date = '2023-12-08'
end_date = '2023-12-17'
svs.stock.get_daily_billboard(start_date=start_date,end_date=end_date)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/rchardzhu/starviewshare",
"name": "starviewshare",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "finance,quant,stock,etf,futures,starviewshare",
"author": "Richard Zhu",
"author_email": "rchardzhu@gmail.com",
"download_url": "",
"platform": "any",
"description": "# starviewshare\r\n\u89c2\u661f\u91cf\u5316--\u5f00\u6e90\u91d1\u878d\u91cf\u5316\u6570\u636e\u63a5\u53e3\r\n\r\n[starviewshare](https://github.com/rchardzhu/starviewshare) \u4e2d\u6587\u540d\u4e3a\u89c2\u661f\u91cf\u5316\uff0c \u662f\u4e00\u4e2a\u7528\u4e8e\u83b7\u53d6\u80a1\u7968\u3001ETF\u3001\u671f\u8d27\u6570\u636e\u7684\u514d\u8d39\u5f00\u6e90 Python \u5e93\u3002\r\n\r\n\u7279\u70b9\uff1a\r\n* \u53ea\u9700\u4e00\u884c\u4ee3\u7801\uff0c\u53ef\u4ee5\u81ea\u7531\u5207\u6362\u5e95\u5c42\u6570\u636e\u6e90\r\n* \u57fa\u4e8eakshare\u3001efinance\u3001miniqmt\u6253\u9020\r\n* \u514d\u8d39\u5f00\u6e90\r\n\r\n\u6b22\u8fce\u5173\u6ce8\u5fae\u4fe1\u516c\u4f17\u53f7\"Python\u91cf\u5316\u5b9e\u6218\"\uff0c\u4e0e\u60a8\u5206\u4eab\u66f4\u591a\u8d44\u6e90\u548c\u4fe1\u606f\u3002\u5173\u6ce8\u540e\u56de\u590d\u52a0\u7fa4\u53ef\u4ee5\u4e0e\u5c0f\u4f19\u4f34\u4eec\u4e00\u8d77\u8ba8\u8bba\u95ee\u9898\u3001\u8d21\u732e\u4ee3\u7801\r\n\r\n\r\n## Installation\r\n\r\n- \u901a\u8fc7 `pip` \u5b89\u88c5\r\n\r\n```bash\r\npip install starviewshare\r\n```\r\n\r\n- \u901a\u8fc7 `pip` \u66f4\u65b0\r\n\r\n```bash\r\npip install starviewshare --upgrade\r\n```\r\n\r\n## Examples\r\n\r\n- \u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1a\u8f93\u51fastarviewshare\u7248\u672c\r\n\r\n```python\r\nimport starviewshare as svs\r\nprint(svs.__version__)\r\n```\r\n\r\n### stock\r\n\r\n- \u80a1\u7968\u9f99\u864e\u699c\r\n```python\r\nimport starviewshare as svs\r\nsvs.stock.get_daily_billboard()\r\nstart_date = '2023-12-08'\r\nend_date = '2023-12-17'\r\nsvs.stock.get_daily_billboard(start_date=start_date,end_date=end_date)\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A finance tool to get stock,fund and futures data",
"version": "0.1.2",
"project_urls": {
"Documentation": "https://github.com/rchardzhu/starviewshare",
"Homepage": "https://github.com/rchardzhu/starviewshare",
"Source": "https://github.com/rchardzhu/starviewshare"
},
"split_keywords": [
"finance",
"quant",
"stock",
"etf",
"futures",
"starviewshare"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "50f35a6d21b53631f5d3605fabaa646063acf7bbf30f689d63b0e7a1da15bda8",
"md5": "efcf0d7dbf86f3d253b4653051bb5a40",
"sha256": "2595577c36390ef2cc949a145d8457e59318651583ad626a56ce08a86932169f"
},
"downloads": -1,
"filename": "starviewshare-0.1.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "efcf0d7dbf86f3d253b4653051bb5a40",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8",
"size": 3519,
"upload_time": "2023-12-17T11:44:23",
"upload_time_iso_8601": "2023-12-17T11:44:23.171397Z",
"url": "https://files.pythonhosted.org/packages/50/f3/5a6d21b53631f5d3605fabaa646063acf7bbf30f689d63b0e7a1da15bda8/starviewshare-0.1.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-17 11:44:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rchardzhu",
"github_project": "starviewshare",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "starviewshare"
}