Author |
Topic: FAST subscription data stop after 90 seconds (5 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
Hi I can request subscription data from the FAST server but updates stop after 90 seconds. I also notice that I’m not receiving Heartbeat (type 62) messages from the server. (and so not sending any back). I'm haven't changed the default heartbeat interval (set in the logon message at 30 seconds).
I'm using OpenFAST. Do I need to manually generate Heartbeat responses or re-request the data? Message History: I send two MarketDataRequest messages MarketDataRequest -> {59, V, 1, 1, 1, 0, null, null, null, [ [MDEntries -> {0}] [MDEntries -> {1}] ], [ [Instruments -> {GE, 201503, null, CME, FXXXXS}] ]} MarketDataRequest -> {59, V, 2, 0, 1, 0, null, null, null, [ [MDEntries -> {0}] [MDEntries -> {1}] ], [ [Instruments -> {GE, 201603, null, CME, FXXXXS}] ]} And get the data returned MarketDataSnapshotFullRefresh -> {2, W, 1, [ [MDEntries -> {0, 99.535, 2960, 20131216, 172606000, null}] [MDEntries -> {1, 99.54, 22272, null, null, null}] ]} MarketDataSnapshotFullRefresh -> {2, W, 2, [ [MDEntries -> {0, 98.745, 7964, 20131216, 172553000, null}] [MDEntries -> {1, 98.75, 1326, null, null, null}] ]} I cancel the second update MarketDataRequest_Cancel -> {57, V, 2, 2} And continue to get updates on the subscribed message MarketDataSnapshotFullRefresh -> {2, W, 1, [ [MDEntries -> {0, 99.535, 2960, 20131216, 172606000, null}] [MDEntries -> {1, 99.54, 22205, null, null, null}] ]} MarketDataSnapshotFullRefresh -> {2, W, 1, [ [MDEntries -> {0, 99.535, 3044, 20131216, 172606000, null}] [MDEntries -> {1, 99.54, 22205, null, null, null}] ]} MarketDataSnapshotFullRefresh -> {2, W, 1, [ [MDEntries -> {0, 99.535, 3084, 20131216, 172606000, null}] [MDEntries -> {1, 99.54, 22205, null, null, null}] ]} ……… updates continue until ……… MarketDataSnapshotFullRefresh -> {2, W, 1, [ [MDEntries -> {0, 99.535, 2841, 20131216, 172724000, null}] [MDEntries -> {1, 99.54, 30123, null, null, null}] ]} MarketDataSnapshotFullRefresh -> {2, W, 1, [ [MDEntries -> {0, 99.535, 2842, 20131216, 172724000, null}] [MDEntries -> {1, 99.54, 29889, null, null, null}] ]} MarketDataSnapshotFullRefresh -> {2, W, 1, [ [MDEntries -> {0, 99.535, 2842, 20131216, 172724000, null}] [MDEntries -> {1, 99.54, 29886, null, null, null}] ]} Michael Hall |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
OpenFAST doesn't have built-in support of heartbeats.
Victor Vins Lead Software Developer |
||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
Does the test FAST API send heartbeats?
I check for them but I have never received a message of type 62 from the FAST server. My app is set up to respond to a heartbeat with a type 52 message. Michael Hall |
||||
MHall4001 Posts: 31 Joined: Oct 14, 2013 |
Correction, my app is set up to respond with a type 62 (Heartbeat) message.
Michael Hall |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello. Our server sends heartbeat if there is no any message during heartbeat interval. Your application shouldn't wait for Heartbeat to reply to it
Victor Vins Lead Software Developer |
||||