QuickFIX/J :设置 StartTime/EndTime 以便会话永久运行

QuickFIX/J : Set StartTime/EndTime so that the session runs perpetually

变量 StartTimeEndTime 应该设置什么值,以便会话永久运行。

我没有特定的 EndTime,希望会话保持 运行。

我自己没有这样做过,但是你可以尝试结合使用 Weekdays 和设置 StartTime > EndTime 吗?

来自 Weekdays 上的 QuickFIX/J 配置:

For daily sessions that are active on specific days of the week.
Use in combination with StartTime and EndTime.
Incompatible with StartDay and EndDay.
If StartTime is before EndTime then the day corresponds to the StartTime.

也有可能只是从您的配置中完全省略 StartTimeEndTime 就可以达到您想要的效果。正如我所说,我以前从未尝试过。

要使会话永远不会重置,您需要使用设置 NonStopSession=Y

实际上 config page 提到这与将 StartTimeEndTime 都设置为 00:00:00 相同。但是,如果我没记错的话,会话将在 00:00:00 重置(与文档所说的相反)。