0
我在嘗試訂閱外匯交易品種報價時經常遇到FieldNotFound
異常。 雖然我添加了所有必需的標籤和更多。市場數據請求 - FieldNotFound異常
(它們是:。MDReqID,SubscriptionRequestType,MarketDepth,NoMDEntryTypes,MDEntryType,NoRelatedSym,象徵,這裏指定:http://www.onixs.biz/tools/fixdictionary/4.2/msgType_V_86.html)
這裏是我的代碼:
Dim l_msg As New QuickFix42.MarketDataRequest(
New MDReqID(System.Guid.NewGuid.ToString),
New SubscriptionRequestType(SubscriptionRequestType.SNAPSHOT_PLUS_UPDATES),
New MarketDepth(1))
l_msg.setField(New MDUpdateType(1))
l_msg.setField(New AggregatedBook(False))
l_msg.setField(New NoMDEntryTypes(2))
l_msg.setField(New MDEntryType("0"c))
l_msg.setField(New NoRelatedSym(1))
l_msg.setField(New Symbol("EUR/USD"))
Session.sendToTarget(l_msg, SENDER_COMP_ID.Value, TARGET_COMP_ID.Value)
缺少什麼我在這裏?
我的壞。固定... – skaffman