[英]FIX Message: "Tag not defined for this message type" upon Logon
Below is the output snippet I get while I try to logon to Cfh I am following this doument下面是我在尝试登录 Cfh 时得到的输出片段我正在关注这个文件
8=FIX.4.4|9=119|35=0|34=2|49=xxxxxxx|52=20200220-00:14:00.478|56=CfhDemoxxxxx|108=30|141=Y|553=xxxxxxx|554=xxxxxx|10=227|
8=FIX.4.4|9=138|35=3|34=2|49=CfhDemoxxxxx|52=20200220-00:14:00.564|56=xxxxxxx|45=2|58=Tag not defined for this message type|371=108|372=0|373=2|10=154|
8=FIX.4.4|9=113|35=1|34=3|49=CfhDemoxxxxx|52=20200220-00:14:06.564|56=xxxxxxxx|112=2439c450-1914-42ad-83c6-ad4b5ed17501|10=146|
8=FIX.4.4|9=160|35=0|34=3|49=xxxxxxx|52=20200220-00:14:06.740|56=CfhDemoxxxx|108=30|112=2439c450-1914-42ad-83c6-ad4b5ed17501|141=Y|553=xxxxxxxx|554=xxxxxxx|10=135|
8=FIX.4.4|9=138|35=3|34=4|49=CfhDemoxxxx|52=20200220-00:14:06.826|56=xxxxxxx|45=3|58=Tag not defined for this message type|371=108|372=0|373=2|10=164|
8=FIX.4.4|9=119|35=5|34=4|49=xxxxxxx|52=20200220-00:14:23.476|56=CfhDemoxxxxx|108=30|141=Y|553=xxxxxxx|554=xxxxxxB|10=237|
8=FIX.4.4|9=138|35=3|34=5|49=CfhDemoxxxxx|52=20200220-00:14:23.563|56=xxxxxxx|45=4|58=Tag not defined for this message type|371=108|372=5|373=2|10=168|
It took me a while to see it (so you can ignore my comment) but that was mainly due to bad formatting.我花了一段时间才看到它(所以你可以忽略我的评论)但这主要是由于格式错误。 Please paste your FIX messages with a visible separator between the fields, eg a pipe
|
请在字段之间使用可见的分隔符粘贴您的 FIX 消息,例如管道
|
You are sending a Heartbeat
message ( 35=0
) with field 108/HeartBtInt
.您正在发送带有字段
108/HeartBtInt
的Heartbeat
消息 ( 35=0
)。 This tag is only allowed on a Logon
message ( 35=A
).此标记仅允许用于
Logon
消息 ( 35=A
)。
This is also explained in the Reject
message ( 35=3
) that you get:这也在您收到的
Reject
消息 ( 35=3
) 中进行了解释:
8=FIX.4.4|9=138|35=3|34=2|49=CfhDemoxxxxx|52=20200220-00:14:00.564|56=xxxxxxx|45=2|58=Tag not defined for this message type|371=108|372=0|373=2|10=154|
...
58 Text Tag not defined for this message type
371 RefTagID 108
372 RefMsgType 0
...
So 371/RefTagID
tells you that tag 108
is not defined for the 372/RefMsgType
of 0
.所以
371/RefTagID
告诉你标签108
没有为0
的372/RefMsgType
定义。
Edit: in general it seems you are putting wrong tags on every message.编辑:一般来说,您似乎在每条消息上都放置了错误的标签。 You also put tags
141
, 553
and 554
on a HeartBeat
but these belong to a Logon
message also.您还将标签
141
、 553
和554
放在HeartBeat
但这些也属于Logon
消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.