Class ObservableSource

  • All Implemented Interfaces:
    Named, Serializable, Comparable<ObservableSource>

    public final class ObservableSource
    extends TypedString<ObservableSource>
    Identifies the source of observable market data, for example Bloomberg or Reuters.

    The meaning of a source is deliberately abstract, identified only by name. While it may refer to a major system, such as Bloomberg, it might refer to any other system or sub-system, such as data from a specific broker.

    See Also:
    Serialized Form
    • Field Detail

      • NONE

        public static final ObservableSource NONE
        A market data source used when the application does not care about the source.
    • Method Detail

      • of

        public static ObservableSource of​(String name)
        Obtains an instance from the specified name.

        Source names must only contains the characters A-Z, a-z, 0-9 and -.

        name - the name of the source
        a source with the specified name