How to get the quickfix timestamp?

Posted by yves Baumes on Stack Overflow See other posts from Stack Overflow or by yves Baumes
Published on 2010-04-16T10:01:28Z Indexed on 2010/04/16 10:03 UTC
Read the original article Hit count: 358

Filed under:
|
|
|

I've seen in quickfix doxygen documentation that it generates an utc timestamp as soon as it has received a FIX message from a socket file. Have a look in ThreadedSocketConnection::processStream(), it calls then

m_pSession->next( msg, UtcTimeStamp() );

I would like to get that timestamp, because I need it to screen network and QuickFix lib latencies.

I didn't find a way to get it from FixApplication::fromApp() callback or 'Log::onIncoming()' callback.

As I am newbie with quickfix I would like to know if I missed something in the Quickfix documentation. Did anybody ever done that before?

Of course there is other solutions, but for homogeneity with others market acces applications I maintain, I would prefer to avoid them. For instance, I would prefer not to modify QuickFix code source. And I would like to avoid re-write the application logic that quickfix provide me, quickfix helpping me only for message decoding.

© Stack Overflow or respective owner

Related posts about quickfix

Related posts about finance