GAT软件

 找回密码
 立即注册
搜索
热搜: 股票 交友 gdat
GAT软件 首页 编程接口 查看内容

vb6

2017-10-9 07:29| 发布者: admin| 查看: 57| 评论: 0

摘要: Public Function GdatOpen() As Long;Public Function GdatClose() As Long;Public Function VGdatStockInfo(ByVal code As String, info() As GStockInfo) As Long;Public Function VGdatBig(bigdat() As GBIGDAT) ...

//打开连接只需调用一次  返回0正确 非0错误
Public Function
GdatOpen() As Long;

//关闭连接
Public Function GdatClose() As Long;

/*
获取股票基本信息
code为空时返回全部,code不为空时返回个股

info 股票信息数组
*/
Public Function VGdatStockInfo(ByVal code As String, info() As GStockInfo) As Long;

/*
获取大单数据
bigdat 大单数组
*/

Public Function VGdatBig(bigdat() As GBIGDAT) As Long;

/*
获取K线数据
code 代码
kltype 类型1200, 240, 60, 30, 15, 5, 1
reqno 请求数目
nTQ  复权标志  1,前复权  0,不复权
hisdat K线数据数组
*/
Public Function VGdatKline(ByVal code As String, ByVal kltype As Long, ByVal reqno As Long, ByVal nTQ As Byte, hisdat() As GHISDAT) As Long;

/*
获取分笔数据
code 代码
reqno 请求数
tickdat 分笔数组
*/

Public Function VGdatBs(ByVal code As String, ByVal reqno As Long, tickdat() As GTICKDAT) As Long;

/*
获取盘口数据
code 代码
kp 盘口数据
*/

Public Function VGdatKp(ByVal code As String, kp As GKPDAT) As Long;

/*
获取分时数据
code 代码
fs 分时数组
*/

Public Function VGdatFs(ByVal code As String, fs() As GFSDAT) As Long;

/*
获取全部盘口数据
kp 盘口数据数组
*/

Public Function VGdatFlush(kp() As GKPDAT) As Long;

/*
获取历史分笔数据
code 代码
tim 日期
tickdat 分笔数组
*/

Public Function VGdatHisBs(ByVal code As String, tim As NTime, tickdat() As GTICKDAT) As Long;

/*
获取多个股票的盘口数据
kp 盘口数组
codearr 代码数组,不超过30个
codenum 数组长度
*/

Public Function VGdatMultiKp(kp() As GKPDAT, codearr() As String, ByVal codenum As Integer) As Long;

/*
高速获取盘口数据
kp 盘口数组
codearr 代码数组
codenum 数组长度,长度为0时返回全部股票的盘口数据
*/

Public Function VGdatFlushKp(kp() As GKPDAT, codearr() As String, ByVal codenum As Integer) As Long;

/*
高速获取股票的K线数据

code 代码
kltype 类型1200, 240, 60, 30, 15, 5, 1
reqno 请求数目
nTQ  复权标志  1,前复权  0,不复权
hisdat K线数据数组

*/

Public Function VGdatFlushKline(ByVal code As String, ByVal kltype As Long, ByVal reqno As Long, ByVal nTQ As Byte, hisdat() As GHISDAT) As Long;

/*
高速获取分笔数据

code 代码
reqno 请求数
tickdat 分笔数组

*/

Public Function VGdatFlushBs(ByVal code As String, ByVal reqno As Long, tickdat() As GTICKDAT) As Long;

/*
高速获取分时数据

code 代码
fs 分时数组
*/

Public Function VGdatFlushFs(ByVal code As String, fs() As GFSDAT) As Long;

/*
高速获取大单数据

volbl 限制相对于活动股本比例
amlimit 限制金额
bigdat 大单数组
*/

Public Function VGdatFlushBig(ByVal volbl As Single, ByVal amlimit As Long, bigdat() As GBIGDAT) As Long;

鲜花

握手

雷人

路过

鸡蛋
上一篇:vc6++下一篇:delphi7

最新评论

相关分类

QQ|Archiver|手机版|小黑屋|gdatshop Inc. ( 沪ICP备17004817

GMT+8, 2017-10-24 15:24 , Processed in 0.043629 second(s), 19 queries .

Powered by GDAT!

© 2001-2022 gdatshop Inc.

返回顶部