Skip to main content

No project description provided

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poshare-0.3.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

poshare-0.3.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file poshare-0.3.0.tar.gz.

File metadata

  • Download URL: poshare-0.3.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.2 Linux/5.15.0-1035-azure

File hashes

Hashes for poshare-0.3.0.tar.gz
Algorithm Hash digest
SHA256 12b575a991686dfd259a0da98b42d4e0d8f6826e1c0b8e4742399a988ba88021
MD5 9eeeb8ca65d54d21c1953ab93f5ed634
BLAKE2b-256 088f642957905ceb10dfd3be07fb562ded6983a8a8e9a5916fe6f70190cda3ab

See more details on using hashes here.

File details

Details for the file poshare-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: poshare-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.2 Linux/5.15.0-1035-azure

File hashes

Hashes for poshare-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c69b4b28538850a1ebd8ca417415e7e0a8031f04529a56005d78b662eca1921
MD5 add4e590ef2f58df73fe4918997d5e8a
BLAKE2b-256 31e7779126ac447d51680d9bfeec9808bd74699959e1a60f14904329a998a9cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page