基于Restplus实现同花顺iFinD接口分布式调用
Project description
# RestIFindPy
通过 flask_restplus 将 ifind接口 进行封装。这样可以通过rest调用的方式提取 ifind 数据。实现分布式调用
### 外部环境依赖及安装配置
#### ifind 环境配置
```commandline
python "d:\IDE\iFinD\bin\x64\installiFinDPy.py" "D:\IDE\iFinD\bin"
```
#### 测试接口文件安装是否成功
```python
from iFinDPy import *
# 返回 D:\WSPych\RestIFindPy\venv\lib\site-packages\iFinDPy.pth
# 说明安装成功
# 登陆
thsLogin = THS_iFinDLogin("fhtz069","663614") # 0
thsDataDataPool = THS_DataPool('block','2016-11-27;001005260','date:Y,security_name:Y,thscode:Y')
```
通过 flask_restplus 将 ifind接口 进行封装。这样可以通过rest调用的方式提取 ifind 数据。实现分布式调用
### 外部环境依赖及安装配置
#### ifind 环境配置
```commandline
python "d:\IDE\iFinD\bin\x64\installiFinDPy.py" "D:\IDE\iFinD\bin"
```
#### 测试接口文件安装是否成功
```python
from iFinDPy import *
# 返回 D:\WSPych\RestIFindPy\venv\lib\site-packages\iFinDPy.pth
# 说明安装成功
# 登陆
thsLogin = THS_iFinDLogin("fhtz069","663614") # 0
thsDataDataPool = THS_DataPool('block','2016-11-27;001005260','date:Y,security_name:Y,thscode:Y')
```
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
RestIFindPy-0.0.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for RestIFindPy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65bcad799f61d26cd4a35bea16cabac448e9a14bdf748e8734ba96a3f755069 |
|
MD5 | ae12bccc67e06ab7315b28496fd00b87 |
|
BLAKE2b-256 | e20378d726165bdd506c9c11a35d726362374fa823c74a79a17f7df725a4f536 |