What is the Ninjascript code to "Flatten Everything"
Also, is there a Ninjascript code for If(Total/entire account Unrealized PnL is > $100).
In short, as I place multiple trades, I am looking for a strategy to flatten everything after my entire account Unrealized PnL reaches a profit threshold.
Thank you
Comment