CQG API Sample for Matlab - - - - - - - - - - - - - Summary: - - - - - - This sample program gets two symbols, requests the last 300 daily close values, and calculates the correlation between them. The last record in the expression is updated when market data is updated. When the day ends and the 301st record is received, the first value is discarded so that the total number of closes remains 300. How to Run the Sample? - - - - - - - - - - - - - - - 1. Call the CEL_StartUp function passing to it two symbol names as argument of string type. E.g., CEL_StartUp('DD', 'EP') 2. To terminate the program, call the CEL_ShutDown() function.