Access the Portfolio Simulation Mode from inside a Strategy
Author: Panache
Creation Date: 7/30/2018 10:06 PM
profile picture

Panache

#1
I want to read the Portfolio Simulation Mode (ie. WealthScript Overrife (SetShareSize) from inside a Strategy to add it to a custom email alert.

CODE:
Please log in to see this code.

prints RawProfitDollar regardless of which radio button is highlighted.
profile picture

Panache

#2
Here's the code to return the Portfolio Simulation Mode:

CODE:
Please log in to see this code.
profile picture

Eugene

#3
Just for the sake of completeness, the GetPositionSize is found in Community Components.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).