26 lines
665 B
Protocol Buffer
26 lines
665 B
Protocol Buffer
syntax = "proto2";
|
||
package Trd_UpdateOrderFill;
|
||
option java_package = "com.futu.openapi.pb";
|
||
option go_package = "github.com/futuopen/ftapi4go/pb/trdupdateorderfill";
|
||
|
||
import "Common.proto";
|
||
import "Trd_Common.proto";
|
||
|
||
//推送协议,无C2S和Request结构,retType始终是RetType_Succeed
|
||
|
||
message S2C
|
||
{
|
||
required Trd_Common.TrdHeader header = 1; //交易公共参数头
|
||
required Trd_Common.OrderFill orderFill = 2; //成交结构
|
||
}
|
||
|
||
message Response
|
||
{
|
||
//以下3个字段每条协议都有,注释说明在InitConnect.proto中
|
||
required int32 retType = 1 [default = -400];
|
||
optional string retMsg = 2;
|
||
optional int32 errCode = 3;
|
||
|
||
optional S2C s2c = 4;
|
||
}
|