update code

This commit is contained in:
2025-08-15 15:57:31 +08:00
parent 8e0d68bc21
commit e3f9abfd97
376 changed files with 351718 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
syntax = "proto2";
package Qot_UpdateOrderBook;
option java_package = "com.futu.openapi.pb";
option go_package = "github.com/futuopen/ftapi4go/pb/qotupdateorderbook";
import "Common.proto";
import "Qot_Common.proto";
message S2C
{
required Qot_Common.Security security = 1; //股票
optional string name = 8; //股票名称
repeated Qot_Common.OrderBook orderBookAskList = 2; //卖盘
repeated Qot_Common.OrderBook orderBookBidList = 3; //买盘
optional string svrRecvTimeBid = 4; // 富途服务器从交易所收到数据的时间(for bid)部分数据的接收时间为零,例如服务器重启或第一次推送的缓存数据。该字段暂时只支持港股。
optional double svrRecvTimeBidTimestamp = 5; // 富途服务器从交易所收到数据的时间戳(for bid)
optional string svrRecvTimeAsk = 6; // 富途服务器从交易所收到数据的时间(for ask)
optional double svrRecvTimeAskTimestamp = 7; // 富途服务器从交易所收到数据的时间戳(for ask)
}
message Response
{
required int32 retType = 1 [default = -400]; //RetType,返回结果
optional string retMsg = 2;
optional int32 errCode = 3;
optional S2C s2c = 4;
}