Isak_ wrote:
Thanks. Should I cast the incoming IMessage to IInstrumentStatusMessage when IMessage.getType == INSTRUMENT_STATUS?
Yes, if you wish to access the fields of the interface.
Isak_ wrote:
Every 30 seconds, I am getting an INSTRUMENT_STATUS message with isTradable() == true, for the one instrument I am subscribed to. In between I am not receiving any messages with isTradable() == false.
Is this normal?
If you don't receive
INSTRUMENT_STATUS on every tick it does not mean that the instrument is not tradable it just means that the message does not get fired that often.