|01-26-2009, 05:15 PM||#1|
Join Date: Feb 2008
Location: Wellsville, Ut
Thanked 0 times in 0 posts
Realized PnL with ATM in Script
I've used the Sample Price Modification strategy code to have an autostrategy stop trading if it accumulated X amount of Real PnL. ie, quit trading if Real PnL > $100.
Now I have an autostrategy calling an ATM and the Real PnL stop trading limit doesn't work. It looks like the Real PnL is attributed to the ATM it calls instead of the strategy itself, so the strategy doesn't see any Real PnL and just keeps on rolling.
Is there a way to still have the autostrategy quit trading after X PnL with an ATM being called? I guess it would have to be able to add up the ATM Real PnL and recognize that somehow ???? If so, how would you do that?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Unrealized and Realized PnL in points/pips and % in stead of only $||whitegun||Suggestions And Feedback||22||11-14-2008 05:54 PM|
|problems wit realized PnL||dedomraz||Miscellaneous Support||9||09-23-2008 10:11 AM|
|ATM from script||MelbourneRich||Automated Trading||1||09-19-2008 09:38 AM|
|ATM Strategy with Ninja Script||suitguy1||Automated Trading||1||07-22-2008 01:34 PM|
|Why did you remove "Realized + Unrealized PnL" from the Columns list?||shawnj||Market Analyzer||7||05-28-2008 11:34 AM|