简体   繁体   English

在QuickFIXn上重置序列号

[英]Resetting Sequence Numbers on QuickFIXn

I havent been able to find an answer to this exact scenario with the quickFIXn engine. 我无法使用quickFIXn引擎找到此确切方案的答案。 I will be setting up here as the initiator and will have a Start Day, End Day, start Time and end time set up for week long session. 我将在此处设置为发起者,并将为一周的会话设置开始日期,结束日期,开始时间和结束时间。 At the end of the week the Sequence numbers get reset which is perfectly fine. 在本周结束时,序列号会重置,这很好。 Now the thing I need to get done is to reset the message sequence numbers daily, keeping the weekly session going on. 现在,我需要做的事情是每天重置消息序列号,保持每周的会话继续进行。 From what i've read till now, the only way to reset the message sequence numbers at a particular time is to set the start time and it would reset, but if I set the start day, it will reset only on the start day at start time, would ignore resetting the sequence numbers on the rest of the days. 从我到目前为止所读的内容来看,在特定时间重置消息序列号的唯一方法是设置开始时间,它将重置,但是如果我设置开始日期,它将仅在开始日期重置开始时间,则将忽略其余时间的序列号重置。 My question is this, how can I have both, a week long session and also have the message sequence number reset daily. 我的问题是,我如何既可以进行为期一周的会话,又可以每天重置消息序列号。

It sounds like what you really want is a day-long session, not a week-long session. 听起来您真正想要的是一天的课程,而不是一周的课程。

Delete StartDay and EndDay from your config file and you'll have day-long sessions. 从配置文件中删除StartDayEndDay ,您将需要进行为期一天的会话。

QF will, however, attempt to connect on every day of the week, though, so if you want it to not start on, say, Sat/Sun, you'll have to shut it down. 但是,QF将尝试在一周中的每一天进行连接,因此,如果您希望它启动,例如,Sat / Sun,则必须将其关闭。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM