public void onLive()

in src/main/java/deltix/ember/service/oms/risk/sample/SamplePositionRiskRule.java [57:63]


    public void onLive(RiskManagerContext context) {
        // Initialize PositionView. getPositionView() can return null
        // if risk rule was not defined in position projection
        this.position = getParentGroup().getPositionView();
        if (this.position == null)
           LOGGER.error("MaxPosition limit must be defined on Position projection");
    }