Design, populate, and query a sqlite3 database forpairs trading.
Provide SQL queries for pair trading statistics.
Write an Object-Oriented program in C++ to run the back-test for a given portfolio over a given time period and store the results in the database.
Design the algorithm to implement real time “grey box” trading using the database and objects you used for the back tester.