update code
This commit is contained in:
36
include/Proto/Qot_GetKL.proto
Normal file
36
include/Proto/Qot_GetKL.proto
Normal file
@@ -0,0 +1,36 @@
|
||||
syntax = "proto2";
|
||||
package Qot_GetKL;
|
||||
option java_package = "com.futu.openapi.pb";
|
||||
option go_package = "github.com/futuopen/ftapi4go/pb/qotgetkl";
|
||||
|
||||
import "Common.proto";
|
||||
import "Qot_Common.proto";
|
||||
|
||||
message C2S
|
||||
{
|
||||
required int32 rehabType = 1; //Qot_Common.RehabType,复权类型
|
||||
required int32 klType = 2; //Qot_Common.KLType,K线类型
|
||||
required Qot_Common.Security security = 3; //股票
|
||||
required int32 reqNum = 4; //请求K线根数
|
||||
}
|
||||
|
||||
message S2C
|
||||
{
|
||||
required Qot_Common.Security security = 1; //股票
|
||||
optional string name = 3; // 股票名称
|
||||
repeated Qot_Common.KLine klList = 2; //k线点
|
||||
}
|
||||
|
||||
message Request
|
||||
{
|
||||
required C2S c2s = 1;
|
||||
}
|
||||
|
||||
message Response
|
||||
{
|
||||
required int32 retType = 1 [default = -400]; //RetType,返回结果
|
||||
optional string retMsg = 2;
|
||||
optional int32 errCode = 3;
|
||||
|
||||
optional S2C s2c = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user