I am trying to get the price per share that the position opened at
using GetPositionInfo.


example:
AvgCost = ibc.GetPositionInfo(ABName, "Avg. cost");
_TRACE( "AvgCost " + AvgCost );

This is the trace that is received 

AvgCost {EMPTY}  Formulas\Custom\IB\IB_Auto_Reverse_Trade_Controler.afl   183   
   31      11:59:43.15

There are active trades shown in the portfolio screen in the IB Controller 


Thank you
Jim Hutchison 



Reply via email to