Lixinger SDK for Python (Unofficial)
Project description
lixinger
理杏仁 Python SDK (非官方).
安装
pip install lixinger
用法
设置自己的 Token (配置文件路径: ~/.config/lixinger/settings.toml)
[default]
token = "your token"
使用文档请参考 理杏仁开放平台
from lixinger.api.cn.company.base import get_company
# 获取股票详细信息
company = get_company(stock_codes=["600519"])
print(company)
将会看到以下输出内容:
stock_code market ipo_date ... mutual_markets name fs_type
0 600519 a 2001-08-26 16:00:00 ... ha 贵州茅台 non_financial
[1 rows x 7 columns]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lixinger-0.1.5.tar.gz
(8.2 kB
view hashes)
Built Distribution
lixinger-0.1.5-py3-none-any.whl
(15.5 kB
view hashes)