Metadata-Version: 2.4
Name: tnskhdata
Version: 0.1.0
Summary: Tnskhdata data client
Author: Tnskhdata
License-Expression: MIT
Project-URL: Homepage, http://8.163.90.143:8686/
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: THIRD_PARTY_NOTICES.md
Requires-Dist: pandas
Requires-Dist: requests
Requires-Dist: lxml
Requires-Dist: simplejson
Requires-Dist: beautifulsoup4
Requires-Dist: websocket-client>=0.57.0
Requires-Dist: tqdm
Dynamic: license-file

# Tnskhdata

Tnskhdata 数据客户端。

## 安装

```bash
pip install tnskhdata
```

## 使用

```python
import tnskhdata as ts

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

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

```python
import os

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