Dump Theo Cache
The DumpTheoCache message will cause the server to dump the entire cache into a file located in the log directory on the server. This is a debugging tool that OptionsCity support can then examine in order to resolve problems or to verify what values are in the cache. It takes no parameters and provides no ACK.
Flushing Theo Cache
When flushing the theo cache, all values for the instrument(s) specified will be removed from the cache. No theoretical value will be available for these instruments. When a value is requested from the system, a new value will be recalculated. In the case of the TheoProvider model, a value will need to be pushed. The cache can be flushed by instrument (Flush), by month (FlushMonth), by symbol (FlushSymbol) and all (FlushAll)
This notification is sent to the client once a Flush message has been successfully processed and all theoretical values for the specified instrument have been purged from the cache. The value for value will be the ID that supplied already by the client's corresponding server-bound Flush message.
Flush All Theos
The FlushAll message will cause us to purge all entries in our cache and therefore have no valid theoretical values for any instrument.
The value for MessageID is a client-defined long and will be returned in the FlushAllAck notification. The InstrumentID is the instrument whose theoretical values will be invalidated.
Flush Symbol Theos
The FlushSymbol message will cause us to purge all entries in our cache for all instruments of a specific symbol. Each entry at every underlying price for the contract will be invalidated.
FlushSymbol <MessageID> <Symbol>
FlushSymbol 2 ON
Flush Instrument Month Theos
The FlushMonth message will cause the server to purge all entries in the theoretical cache for a specific instrument month. Each entry at every underlying price for the instrument will be invalidated.
FlushMonth <MessageID> <MonthID>
FlushMonth 3 7626073
Flush Instrument Theos
The Flush message will cause the server to purge all entries in the theoretical cache for a specific instrument. Each entry at every underlying price for the instrument will be invalidated.
Flush <MessageID> <InstrumentID>
Flush 4 15801133