I'm using the CacheControl object in the REDI API to subscribe to trade events. There are 5 documented values of the "Action" parameter:
My question is: What is the purpose of the 'Delete' and the 'Release' actions? Why would I want to delete an order from the trade history? I can look at OrdStat to get the status of the order, to know what is active/completed/canceled, etc. So why would REDI tell me to delete it?
Also, what does 'Release' mean in this context?
Do you have further documentation on the "Action" parameter or the CacheControl object? There is very little context provided in redi_api_specification_6.pdf.
We have confirmed that Delete and Release type events are not applicable to Orders and Trades. It is safe to disregard.
Please find Tutorial Monitor Orders in C# helpful. At the top of the example code, please see
object result = orderCache.Submit("Message", /*""*/"(msgtype == 10)", ref exec_err); // object result = orderCache.Submit("Message", /*""*/"(msgtype == 14)", ref exec_err);
by switching this comment, you may wish to test monitoring of Orders vs Executions, while continuing to focus on Action types Snapshot, Add (Insert) and Update.
Hi @patrick.noble ,
We have confirmed that Delete and Release events are also safe to disregard when working with Positions.
You may find useful to review Tutorial Monitor Positions in C#, that goes over the approach for monitoring positions and links to downloadable code.