Files
QTradeProgram/include/Proto/Trd_GetAccList.proto
2025-08-15 15:57:31 +08:00

35 lines
825 B
Protocol Buffer
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto2";
package Trd_GetAccList;
option java_package = "com.futu.openapi.pb";
option go_package = "github.com/futuopen/ftapi4go/pb/trdgetacclist";
import "Common.proto";
import "Trd_Common.proto";
message C2S
{
required uint64 userID = 1; //历史原因目前已废弃填0即可
optional int32 trdCategory = 2; //交易品类,参考 Trd_Common.TrdCategory
optional bool needGeneralSecAccount = 3; //是否返回全能账户仅SG用户需要
}
message S2C
{
repeated Trd_Common.TrdAcc accList = 1; //交易业务账户列表
}
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;
}