I am running a strategy on a large basket of instruments. I want to open positions in order of signal occurrence up until a fixed percentage of account has been allocated, or until a fixed number of positions have been opened.
Could you please advise which functions to look at relating to extracting Account balance/details from within a strategy.
Also is there a way of accessing global stats such as the total number of positions open across all strategies being run?
Thanks

Comment