Having succesfully connected, and sent some dummy
buy/sell/cancel/limit-orders and seen that everything works, I tried getting
marketdata.
I see in the log that I receive for example:
"268=2 269=0 270=487.5 271=10000 269=1 270=488.5 271=10000", so I do get
data from my provider.
But OpenQuant, that I use, doesn't seem to recognize this. It does collect
trade, but not quote data.
Before I go complaining to the developers, I figured I'd try to work out how
QuickFix handles the data.
I find:
case MDEntryType.TRADE: {
provider.OnNewTrade(
record.Instrument,
group.getMDEntryPx().getValue(),
(int)group.getMDEntrySize().getValue());
}
And an equivalent function "OnNewQuote()", so I tried just adding
case MDEntryType.QUOTE: {
But there is no quote in MDEntryType. I can find no other place that calls
OnNewQuote().
I would greatly appreciate any hints as to what I'm missing :)
|