Skip to content

Logic for Curvedefinition without nodes seems to fail #2743

Description

@oyvfos

Hi,

This logic:

 if (requiresMarketData(curveDefn)) {
      RatesCurveInputsId curveInputsId = RatesCurveInputsId.of(groupName, curveDefn.getName(), obsSource);
      return marketData.getValue(curveInputsId);
    } else {
      return MarketDataBox.ofSingleValue(RatesCurveInputs.builder().build());
    }

in RatesCurveGroupMarketDataFunction fails for a curvedef without marketdata/nodes. Argument 'curveMetadata' must not be null.

Thanks, Oyvind

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions