Skip to content

Issue parsing MaturityMonthYear #75

@TheMiracleExpress

Description

@TheMiracleExpress

I'm having an issue with the UDP MDP client where the MatruiryMonthYear field on
the SecurityDefinitions (MDInstrumentDefinitionFuture54) are returning
invalid month values:

MaturityMonthYear=2026/241

Is there any special handling needed before reading this field? My current code
uses:

SbeMonthYear monthYear = SbeMonthYear.instance();
mdpMessage.getMonthYear(200, monthYear);
short month = monthYear.getMonth();

I seem to either get a value of zero or 241

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions