Skip to content

nathanhuangzhi/FutuAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

FutuAPI

1, Configuration

下载富途API:

pip install futu

下载富途FutuOpenD客户端:https://www.futunn.com/download/openAPI

安装完成FutuOpenD客户端后打开:

alt text

在客户端输入用户名密码(第一次登陆会要求认证)。

2, Start

返回Python,获取市场快照数据:

from futu import *
import pandas as pd
quote_ctx = OpenQuoteContext(host='127.0.0.1', port=11111)
ret, data = quote_ctx.get_market_snapshot('HK.00700')
quote_ctx.close() 
data.head()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published