Skip to main content

poshare

poshare是一个获取公开投资组合的工具,po时portfolio的缩写,share代表分享。

安装

pip install poshare --upgrade

雪球

from poshare import Xueqiu

Xueqiu.config({
    'cookie': 'your xueqiu cookie'
})

xq = Xueqiu(symbol='ZH1254937')

# 组合名称
xq.cube_name
# 组合信息
xq.cube_info
# 股票配置(环形图)
xq.cube_pie_data
# 详细仓位
xq.cube_tree_data


# 调仓历史
xq.history()
# 收益率走势
xq.all()
# 业绩平级(雷达图)
xq.summary()
# 最新调仓
xq.show_origin()

果仁

from poshare import Gouren

Gouren.config({
    'cookie': 'your guoren cookie'
})

gr = Gouren(symbol='2032861.R.247270131703851')

# 策略详情
gr.strategy()

Metadata

Release files for poshare 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poshare 0.3.0
File Size Uploaded Provenance
poshare-0.3.0.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for poshare 0.3.0
File Interpreter ABI Platform
poshare-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / poshare-0.3.0.tar.gz

Download URL poshare-0.3.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
12b575a991686dfd259a0da98b42d4e0d8f6826e1c0b8e4742399a988ba88021
BLAKE2b-256 checksum
How to use checksums
088f642957905ceb10dfd3be07fb562ded6983a8a8e9a5916fe6f70190cda3ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.2 Linux/5.15.0-1035-azure

Release files / poshare-0.3.0-py3-none-any.whl

Download URL poshare-0.3.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c69b4b28538850a1ebd8ca417415e7e0a8031f04529a56005d78b662eca1921
BLAKE2b-256 checksum
How to use checksums
31e7779126ac447d51680d9bfeec9808bd74699959e1a60f14904329a998a9cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.2 Linux/5.15.0-1035-azure

Security for poshare 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page