I'm running QuickFix with the Python API and connecting to a TT FIX Adapter using FIX4.2
I'm successfully logging on and sending a market data request. The replies are fine. In my message logs (both screen logs and file logs) I am getting a SendingTime (field 52) that looks something like this:
52=20130207-02:38:32.212
However, when I try to get this field and print it to the terminal or to a file, everything is the same except the milliseconds are dropped. So the result is always:
52=20130207-02:38:32
Obviously this is bad. I can't think why the milliseconds would be present at first, and then get dropped when I'm accessing them.
Maybe this is an artifact of Python, which accesses attributes with the '.' character? But this seems stupid, because SendingTime is a string, and last I checked periods were allowed in strings.
Any help would be great, I'd really like to be able to print accurate timestamps to files.
Thanks,
Wapiti