I finished coding the first draft last night so I will be testing it today. One good aspect of it is that you specify the price when you initiate the trade (from the "alpha" part of the code). Therefore, if you want to be "greedy", you can put in a bid that may or may not get hit/filled. If, based on your strategy, you have to be aggressive, you can specify the ask (GetCurrentAsk()) as the price in which case it would be almost like a market order (provided enough liquidity on the ask and assuming you are going long the spread).
I'll keep you guys updated on my progress.

Comment