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

35 lines
919 B
Protocol Buffer
Raw 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 Qot_GetStaticInfo;
option java_package = "com.futu.openapi.pb";
option go_package = "github.com/futuopen/ftapi4go/pb/qotgetstaticinfo";
import "Common.proto";
import "Qot_Common.proto";
message C2S
{
// 注:当 market 和 code_list 同时存在时,会忽略 market仅对 code_list 进行查询。
optional int32 market = 1; //Qot_Common.QotMarket,股票市场
optional int32 secType = 2; //Qot_Common.SecurityType,股票类型
repeated Qot_Common.Security securityList = 3; //股票,若该字段存在,忽略其他字段,只返回该字段股票的静态信息
}
message S2C
{
repeated Qot_Common.SecurityStaticInfo staticInfoList = 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;
}