Pairs trading tester

Summary: Still lots of to do. Refactor needed urgnetly.