Class RepoGroup

  • All Implemented Interfaces:
    Named, Serializable, 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​(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