How to get current position in strategy?

trade_coder

New member
My current strategy calls "Alert" right after the "AddOrder" with either BUY_AUTO and SELL_TO_CLOSE, but I would like to skip the alert if there has been an outstanding position, is there an API or way to query any outstanding positions that have not been SELL_TO_CLOSE?
 

Similar threads

Top