Files
QTradeProgram/include/Proto/Trd_UnlockTrade.proto

34 lines
793 B
Protocol Buffer
Raw Permalink Normal View History

2025-08-15 15:57:31 +08:00
syntax = "proto2";
package Trd_UnlockTrade;
option java_package = "com.futu.openapi.pb";
option go_package = "github.com/futuopen/ftapi4go/pb/trdunlocktrade";
import "Common.proto";
message C2S
{
required bool unlock = 1; //true解锁交易false锁定交易
optional string pwdMD5 = 2; //交易密码的MD5转16进制(全小写),解锁交易必须要填密码,锁定交易不需要验证密码,可不填
optional int32 securityFirm = 3; //券商标识取值见Trd_Common.SecurityFirm
}
message S2C
{
}
message Request
{
required C2S c2s = 1;
}
message Response
{
//以下3个字段每条协议都有注释说明在InitConnect.proto中
required int32 retType = 1 [default = -400];
optional string retMsg = 2;
optional int32 errCode = 3;
optional S2C s2c = 4;
}