public void onLive()

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


    public void onLive(RiskManagerContext context) {
        this.context = context;
        this.position = getParentGroup().getPositionView();
        if (this.position == null)
            LOGGER.error("MaxLoss limit must be defined on Position projection");
    }