32 lines
574 B
Protocol Buffer
32 lines
574 B
Protocol Buffer
|
|
syntax = "proto2";
|
||
|
|
package Qot_RequestRehab;
|
||
|
|
option java_package = "com.futu.openapi.pb";
|
||
|
|
option go_package = "github.com/futuopen/ftapi4go/pb/qotrequestrehab";
|
||
|
|
|
||
|
|
import "Common.proto";
|
||
|
|
import "Qot_Common.proto";
|
||
|
|
|
||
|
|
message C2S
|
||
|
|
{
|
||
|
|
required Qot_Common.Security security = 1; //股票
|
||
|
|
}
|
||
|
|
|
||
|
|
message S2C
|
||
|
|
{
|
||
|
|
repeated Qot_Common.Rehab rehabList = 1; //复权信息
|
||
|
|
}
|
||
|
|
|
||
|
|
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;
|
||
|
|
}
|