CQG API Sample for Matlab - - - - - - - - - - - - - - - - Summary: - - - - - - This sample program chooses the first account from the user’s accounts list and subscribes to the provided symbol’s active instrument. If the current ask is higher than the previous one, the program places a buy limit order for one contract at the current bid price. If the order status is not changed to “final” within ten seconds of order placement, the order is cancelled by the program. How to Run the Sample? - - - - - - - - - - - - - - - 1. Call the CEL_StartUp function passing to it a symbol name as argument of string type. E.g., CEL_StartUp(‘DD’) 2. To terminate the program, call the CEL_ShutDown() function.