CQG API Sample for Matlab - - - - - - - - - - - - - - - - Summary: - - - - - - This sample program shows how to place smart orders within CQG Open-API. The sample chooses the first account from the user’s accounts list and subscribes to the provided symbol’s active instrument. If the current bid is higher than the previous one, the program places a QTS (DOM-Triggered) buy stop order for one contract with = + <2 ticks> and = 1000. 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.