Skip to main content

Tnskhdata data client

Project description

Tnskhdata

Tnskhdata 数据客户端。

安装

pip install tnskhdata

使用

import tnskhdata as ts

pro = ts.pro_api("你的 Token")
df = pro.daily(trade_date="20260622")
print(df)

默认服务地址已内置。需要切换服务地址时,可在导入前设置:

import os

os.environ["TNSKHDATA_URL"] = "https://data.example.com/"
import tnskhdata as ts

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

tnskhdata-0.1.0.tar.gz (120.5 kB view details)

Uploaded Source

Built Distribution

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

tnskhdata-0.1.0-py3-none-any.whl (142.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tnskhdata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 74b1593d95108450b81705d309c2a4fd957ed6a54fb645c25c0af3efbc8c01ec
MD5 093cd5e9c1e3ea3a8020b74503db3665
BLAKE2b-256 853708580121d681d8832144a15025468d92fd55a7a25979c29225b3cfed53d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tnskhdata-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 142.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for tnskhdata-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a589931f8acf5a0b9655c0113b5e7948051552fdfd80b1801f20a6e9959bbdd
MD5 760f95d01ade58ff0a8203439ae8a3de
BLAKE2b-256 c942c998aa0df375f60965e7c957da5d5d411508d498b676f546e15ef8f14ac9

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