Buy 10 contracts of something.
priceToSell = 1000.25;
for (int i = 0; i <= 9; i++)
{
Sell 1 contract at priceToSell
priceToSell = priceToSell + TickSize;
}
It doesn't appear I can do this at first glance since IOrder names have to be defined ahead of time. However, I was looking at ExitLong() and wondering if it was possible.
Thanks!
Comment