I am trying to implement a few new features for my trading system. My plan for now is to initially buy the stocks i wants (using Vwap) and when the order has closed (bought all the quantity) I want to collect 3 parameters(ticker name,avg price, quantity bought),of the order (in order to place TP\SL commands). Neither reqPosition nor orderStatus or reqExecutions seems to return all of them and I couldn't figure how how to do it yet. Any insight on my small problem would be great!
Thank a lot in advance!