Unfortunately you wont be able to use the Performance or the Position class in an Atm strategy.
You have to close the position first, get the necessary account information and then send the reverse order. Please refer to this sample code which demonstrates how to retrieve the PnL from a Atm Strategy.
Comment