Called once each day at the end of the day before the other Risk Manager scripts. The Initialize Risk Management script can be used to initialize portfolio-level risk settings each day.
The Total Risk Limiter block uses this script to initialize its totalRisk variable each day:
' Initialize Total Value for each time this scipt is executed.
totalRisk = 0
Edit Time: 9/12/2020 10:28:44 AM |
Topic ID#: 384 |