|
Initialize Risk Management Script |
Top Previous Next |
|
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:
totalRisk = 0 |