A88 · host seq 68146 · documentation-only OpenD crosswalk

OpenD 全部相關訂閱/欄位
對 FTNN 已授權層可攞/不可攞矩陣

無安裝、無執行OpenD。判定只來自三份v10.12 manual、FTNN live symbols/proto、現有probe同已授權0x1843/0x1844/0x1811證據。

YES=現有probe live驗證;PARTIAL=有stream但欄位未全輸出;EXTENDABLE=協定有路徑但未live驗;NO=現有probe/授權路徑攞唔到。Result=0唔等於每bit entitlement。

1. subscribe() 參數

OpenD參數FTNN對應狀態驗證步驟
code_listcode→SID;SecuritySubscribe.security_id+2-byte NN_CSMktType ext。YESIStockUtil::GetCSMktType;0x1843 log核SID/mkt;response result0。
subtype_list翻譯成BitInfo list;見下一表。PARTIAL逐bit獨立訂閱;raw 0x1844按bit計frame。
is_first_pushOpenD→script cache行為;0x1843無同名wire field。NO(FTNN層不適用)只可由外部已運行OpenD測;現底線禁止。
subscribe_pushOpenD callback registration;FTNN層係server subscription+in-process hook。NO(不同層)FTNN以0x1843/0x1844驗,唔冒充OpenD flag。
is_detailed_orderbookbit3 orders/detail子訊息;現parser驗證但唔完整輸出。PARTIAL需要HK SF/US LV2 entitlement;比對detailList count。
extended_time / session應映射Kline/TimeShare/Ticker session prob;現USDC probe無實作。EXTENDABLE授權美股symbol+maintenance window;盤前/regular/after矩陣。

2. 全部 SubType

OpenD SubType (enum)FTNN候選現狀可攞數據/缺口
QUOTE (1)bit0 Price+bit1 StockState;其他basic quote coverage bits。EXTENDABLE現request會帶0/1,但unified probe未decode BasicQot全部欄。
ORDER_BOOK (2)bit3YEStop bid/ask、volume、order_count、sum、imbalance、exchange ms;完整levels/detailList目前PARTIAL。
TICKER (4)bit35YESsequence、direction/type raw、match ms、price、raw volume、server ms;turnover/typeSign/pushDataType未全映射。
RT_DATA (5)TimeShare/OnPushTimeShare;候選bit20 KLine_TimeShare。EXTENDABLE/未live驗time、minute、price、last_close、avg_price、volume、turnover、timestamp。
K_DAY (6)bit10001 Custom_KLine+不同KlineSubProb/KlineTypeV2PARTIAL現probe live只驗K_1M;3m/5m/10m/15m/30m/60m/120m/180m/240m/day/week/month/quarter/year可改prob2,但逐週期未live驗。
K_5M (7)
K_15M (8)
K_30M (9)
K_60M (10)
K_1M (11)
K_WEEK (12)
K_MON (13)
K_QUARTER (15) / K_YEAR (16)
K_3M (17) / K_10M (18)
K_120M (19) / K_180M (20)
K_240M (21)
BROKER (14)Broker queue coverage path;現無verified bit/cmd。NO current probeid/name/pos/orderID/volume;要先做binary symbol+entitlement研究。
ORDER_BOOK_ODD (22)Odd-lot orderbook candidate path。NO current probe未有live bit mapping/entitlement證據,唔猜數字。

3. BasicQot 全欄位

欄位組OpenD欄位FTNN現狀驗證
Identity/statussecurity, name, isSuspended, listTime/listTimestamp, darkStatus, secStatusSID/market有;其餘NO current decoder擴展bit0/1/stock static decoder;同stock manifest比對。
PricepriceSpread, updateTime/updateTimestamp, highPrice, openPrice, lowPrice, curPrice, lastClosePricebit0 Price可擴展raw 0x1844 bit0 capture+live descriptor wire lock。
Volume/valuevolume, turnover, turnoverRate, amplitudebit0/bit5可擴展precision fields+high-precision strings;同Kline/tick聚合交叉核。
Pre/afterpreMarket/afterMarket: price,high,low,volume,turnover,changeVal,changeRate,amplitudeNO current USDC path需US entitlement+extended session。
OptionExstrikePrice, contractSize/int/float, openInterest, IV, premium, delta,gamma,vega,theta,rho, netOI, expiryDistance, nominal, lotMultiplier, areaType, multiplier,indexOptionTypeNO current probe需option symbol/entitlement及對應coverage decoder。
FutureExlastSettlePrice, position, positionChange, expiryDateDistanceNO current decoder候選StockTypeSpecific/DealStatistics;需futures fixture。

4. TimeShare / Static / Broker

結構全部核心欄位現狀
TimeSharetime, minute, isBlank, price, lastClosePrice, avgPrice, volume, turnover, timestamp未實作;可由OnPushTimeShare/bit20研究。
SecurityStaticBasicsecurity,id,lotSize,secType,name,listTime,delisting,listTimestamp,exchTypeSID/code/name manifest有;其餘唔經現live probe。
WarrantStaticExtype, owner未實作。
OptionStaticExtype,owner,strikeTime,strikePrice,suspend,market,strikeTimestamp,indexOptionType,expirationCycle,standardType,settlementMode未實作。
FutureStaticExlastTradeTime,lastTradeTimestamp,isMainContract未實作。
Brokerid,name,pos,orderID,volume未有verified cmd/bit。

5. Ticker 全欄位

欄位FTNN mapping現狀/步驟
time / timestampTickItem exchange match msYES;轉格式時保留raw ms。
sequencetick_key/seq_idYES;unique key,batch內可descending。
dirraw tick_type 1/2/3YES;用manual enum映BUY/SELL/NEUTRAL。
priceitem #4 fixed-point 1e9YES。
volumeraw volume+precision/#22 exact qty stringraw有;final unified log未完整輸出qty_str。
turnover無verified raw同名item fieldNO raw;price×qty只可標derived。
recvTimelocal wall/mono receive timeYES。
type / typeSign / pushDataType其他TickItem varint/string fieldsraw validation有,語義未逐欄live釘實。

6. OrderBook 全欄位

priceYES,fixed-point÷1e9。
volumeYES,按field10 precision縮放。
orderCountYES;當市場不提供可為0。
detailList.orderID / volumesubmessage strict validation有;現log無逐單輸出;需detail entitlement。
完整Bid/Ask arrayswire有repeated items;現log只top1+sum/imbalance,需改輸出struct。
server/exchange receive timesexchange ms有;bid/ask分開server receive time未完整映射。

7. KLine / 3103 history 全欄位

欄位FTNN現狀
time / timestamp / isBlankbar_ts有;metadata-only placeholder對應isBlank語義,分開count。
open/high/low/closeYES。
lastClosePricewire可見field11;現clean log未輸出。
volume / turnoverYES;crypto high-precision string需擴展保留。
turnoverRate / pe / changeRate現parser驗/略過,未輸出語義欄。
code / nameSID→code manifest有;name需static mapping。
page_req_keyOpenD facade opaque token;raw用has_more/next_time或end_time boundary。

request_history_kline參數

codeSID+market ext · YES
start/endbegin_time/end_time+data_range_type · YES
ktypekline_type+KlineTypeV2 · 1m YES,其餘待live驗
autypeexright · YES schema;市場適用性另驗
fields現raw probe無field selection · NO
max_countitem_count 1..1000 · YES;live process大批量禁止
page_req_key無直接bytes mapping · NO
extended_time/session現probe未實作 · EXTENDABLE

8. 點驗證「攞到」

  1. 每SubType獨立0x1843 sent/rsp;result0只係第一gate。
  2. raw OnRecvPush計對應bit frame;0 frame先查靜市/entitlement/request shape。
  3. 有frame但malformed:capture一個public payload,鎖wire type/precision。
  4. 欄位逐一同manual type、live descriptor、known fixture比對。
  5. 至少兩個symbol/兩個市場驗證,避免把symbol-specific當通用。
  6. 結果列YES/PARTIAL/NO;未知唔命名。

9. 結論

現有FTNN層已穩定攞到:bit3核心orderbook、bit35核心ticker、bit10001 1m Kline、0x1811核心history。可擴展但未完成:BasicQot bit0/1、TimeShare/RT_DATA、其他Kline週期、完整levels/detail、Ticker type flags、Kline PE/turnoverRate/changeRate/lastClose。現時攞唔到:Broker queue、odd-lot orderbook、option/futures/static完整結構、OpenD cache flags/page token。

Pinned sources

sub.html379,214 B · 74442587bc6ddf34708d167a65c123cd7b080262898b2a97dfc104f9c9f8117d
quote.html611,464 B · 727fd9749fb58c42228f519223da09734f40be4e1c8c0b3717c262a82d060029
request-history-kline.html347,478 B · ea608de89fac5d2f163d342f6977a7724928e44f5c34a648b59ab9da53175178
FTNN proto extract7,561 B · d17d014f594df5b8917fb14729d928ef7ec3808ad03b1147a63413f61b782209
Unified probe source112,604 B · f51f299d327e00d78d043726d7ee3197c2477a0a2fddd32c01ca00e52cb2f47b
Live restoration evidence28,453 B · 30a75dc8084b8b9874ed40a3b3127851e3312a3908328c89f8b7706adfea5b2e