by weasel » Wed Mar 23, 2011 3:41 pm
Is there an "easy" way to mimic the effect of the "Close All Positions" button on the main BA interface I will be using the COM interface to establish trading positions, but need to close any outstanding positions just before the off.
I know I could write a loop using getBets(), getPrices() etc, but since the main BA screen has this function built-in, it would be nice to take advanatge of it
Cheers
Chris