Interface PriceQuantity

All Superinterfaces:
com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
PriceQuantity.PriceQuantityBuilder
All Known Implementing Classes:
PriceQuantity.PriceQuantityBuilderImpl, PriceQuantity.PriceQuantityImpl

@RosettaDataType(value="PriceQuantity", builder=PriceQuantityBuilderImpl.class, version="7.0.0-dev.105") @RuneDataType(value="PriceQuantity", model="cdm", builder=PriceQuantityBuilderImpl.class, version="7.0.0-dev.105") public interface PriceQuantity extends com.rosetta.model.lib.RosettaModelObject, com.rosetta.model.lib.GlobalKey
Defines a settlement as an exchange between two parties of a specified quantity of an asset (the quantity) against a specified quantity of another asset (the price). The settlement is optional and can be either cash or physical. The quantity can additionally be specified in terms of one or more currency amounts. In the case of non-cash products, the settlement of the price/quantity would not be specified here and instead would be delegated to the product mechanics, as parameterised by the price/quantity values.
Version:
7.0.0-dev.105
  • Field Details

  • Method Details

    • getPrice

      List<? extends FieldWithMetaPriceSchedule> getPrice()
      Specifies a price to be used for trade amounts and other purposes.
    • getQuantity

      Specifies a quantity to be associated with an event, for example a trade amount.
    • getObservable

      FieldWithMetaObservable getObservable()
      Specifies the object to be observed for a price, it could be an asset or an index. The cardinality is optional as some quantity / price cases have no observable (e.g. a fixed rate in a given currency).
    • getEffectiveDate

      AdjustableOrRelativeDate getEffectiveDate()
      Specifies the date at which the price and quantity become effective. This day may be subject to adjustment in accordance with a business day convention, or could be specified as relative to a trade date, for instance. Optional cardinality, as the effective date is usually specified in the product definition, so it may only need to be specified as part of the PriceQuantity in an increase/decrease scenario for an existing trade.
    • getMeta

      com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
    • build

      PriceQuantity build()
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends PriceQuantity> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends PriceQuantity> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject