Interface ResolvableTrade<T extends ResolvedTrade>

    • Method Detail

      • resolve

        T resolve​(ReferenceData refData)
        Resolves this trade using the specified reference data.

        This converts this trade to the equivalent resolved form. All ReferenceDataId identifiers in this instance will be resolved. The resulting ResolvedTrade is optimized for pricing.

        Resolved objects may be bound to data that changes over time, such as holiday calendars. If the data changes, such as the addition of a new holiday, the resolved form will not be updated. Care must be taken when placing the resolved form in a cache or persistence layer.

        Specified by:
        resolve in interface Resolvable<T extends ResolvedTrade>
        refData - the reference data to use when resolving
        the resolved trade
        ReferenceDataNotFoundException - if an identifier cannot be resolved in the reference data
        RuntimeException - if unable to resolve due to an invalid definition