基于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.3.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for RestIFindPy-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637aac37898267d36fd755f14b1d3235e0056d7a073914cf4de35e9ed9908617 |
|
MD5 | 4fdc2836641c1242fe48162f3ff0ec76 |
|
BLAKE2b-256 | f26cb3ad82325f920297c161a27527ec5abe91834f7325e0020fc6252dc62533 |