Class RepoGroup

  • All Implemented Interfaces:
    Named, java.io.Serializable, java.lang.Comparable<RepoGroup>

    public final class RepoGroup
    extends TypedString<RepoGroup>
    Group used to identify a related set of repo curves when pricing bonds.

    This class was previously called BondGroup. It was renamed in version 1.1 of Strata to allow LegalEntityDiscountingProvider to be used for pricing bills as well as bonds.

    See Also:
    Serialized Form
    • Method Detail

      • of

        public static RepoGroup of​(java.lang.String name)
        Obtains an instance from the specified name.

        Group names may contain any character, but must not be empty.

        Parameters:
        name - the group name
        Returns:
        a group with the specified String