Restructure the first test case by Wing which will be a sample to follow.
Think of all possible scenarios and turn that in test cases.
Mock the registrations of getting market/portfolio updates and the call-backs for testing strategy implemented by the IB Algorithms. Note that this should run without opening TWS, and must be safe without really entering orders.
Restructure the first test case by Wing which will be a sample to follow.
Think of all possible scenarios and turn that in test cases.
Mock the registrations of getting market/portfolio updates and the call-backs for testing strategy implemented by the IB Algorithms. Note that this should run without opening TWS, and must be safe without really entering orders.