Skip to main content

A-share stock market bundle for xscreener (AKShare-based)

Project description

xs-bundle-cn-stock-os

A-share stock market bundle for the xscreener screening framework. Data sourced from AKShare.

Usage

from xscreener import Screener
from xscreener.databases import MemoryDatabase
from xs_bundle_cn_stock_os import CNStockDataBundle, CNStockFactorGroups

s = Screener(name="My Screener", db=MemoryDatabase())
s.add_data_bundle(CNStockDataBundle)
for g in CNStockFactorGroups:
    s.add_factor_group(g)
s.refresh_all_sources(as_of_date=...)
result = s.screen_latest({"pe": {"op": "GT", "value": 0}})

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

xs_bundle_cn_stock_os-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xs_bundle_cn_stock_os-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file xs_bundle_cn_stock_os-0.1.0.tar.gz.

File metadata

  • Download URL: xs_bundle_cn_stock_os-0.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for xs_bundle_cn_stock_os-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c5d058836d9a017556284ba1bb328358398a129025087eb9668753b87cdd223d
MD5 30454a30b67b49d6ab50de1ab3801783
BLAKE2b-256 da63be120ef6b4f8730f0b0add511cfa744e7b2643c8c4377c6c9f4cdd8e5bca

See more details on using hashes here.

File details

Details for the file xs_bundle_cn_stock_os-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xs_bundle_cn_stock_os-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc22aea06a474ece8ac2d6e98a7bcf9cd51dd6b936680167f9ebf9b08c3afb5c
MD5 736cfeac456cc7ac9b1cf8fe54eff13c
BLAKE2b-256 fa1e5ee7d2937191b47c8b9ef03f67682a9fcf28401d66357382942e6400c343

See more details on using hashes here.

Supported by

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