Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果 43=Y,如何告诉 FIX 接受者不要发送消息
或者如果这不可能从客户端完成......
如果 43=Y,如何告诉我的发起程序应用程序忽略传入消息
QuickFixN 版本 1.5.0
我认为您是说您的应用程序是发起者,并且它正在连接到其他人的接受者,对吗?(如果我错了,请纠正我。)
在那种情况下,你无法真正告诉 Acceptor 如何表现。它不在你的控制范围内。
你能做的,在你的OnMessage(ExecutionReport)函数里面,把你的行为包装在
OnMessage(ExecutionReport)
if(msg.Header.IsSetField(43) && msg.GetString(43)=="Y") { ... }