Interface SplitInstruction

All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
SplitInstruction.SplitInstructionBuilder
All Known Implementing Classes:
SplitInstruction.SplitInstructionBuilderImpl, SplitInstruction.SplitInstructionImpl

@RosettaDataType(value="SplitInstruction", builder=SplitInstructionBuilderImpl.class, version="5.30.0") @RuneDataType(value="SplitInstruction", model="cdm", builder=SplitInstructionBuilderImpl.class, version="5.30.0") public interface SplitInstruction extends com.rosetta.model.lib.RosettaModelObject
Specifies instructions for a split, consisting of a breakdown of instructions to be applied to each branch of the split. This instruction can be used to duplicate a trade, as in a clearing scenario, or to split a trade into smaller quantities (in which case each breakdown instruction needs to include a quantity change), as in an allocation.
Version:
5.30.0
  • Field Details

  • Method Details

    • getBreakdown

      List<? extends PrimitiveInstruction> getBreakdown()
      Each split breakdown specifies the set of primitive instructions to be applied to a single branch of that split. N split breakdowns result in N output trades, which include the original trade. Instructions for how to handle the original trade (e.g. if it must be closed) must be specified in one of the breakdowns.
    • 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 SplitInstruction> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends SplitInstruction> 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