Skip to main content

InstrumentCoreInfo

Package: velox.api.layer1.data

Type: Class

Inheritance: java.lang.Object รขโ€ โ€™ InstrumentCoreInfo

All Implemented Interfaces: Serializable

Direct Known Subclasses: InstrumentInfo

Descriptionโ€‹

Minimal sufficient amount of data to identify the instrument within any platform.

See Also:

  • Serialized Form

Nested Classesโ€‹

InstrumentCoreInfo.Builderโ€‹

InstrumentCoreInfo.BuilderBase<T extends InstrumentCoreInfo.BuilderBase>โ€‹

Builder pattern for inheritance structures.

Fieldsโ€‹

symbolโ€‹

public final String symbol

exchangeโ€‹

public final String exchange

typeโ€‹

public final String type

For multiplatform mode might end with "@Platform", e.g. "@Rithmic"

Constructorsโ€‹

InstrumentCoreInfoโ€‹

public InstrumentCoreInfo(String symbol, String exchange, String type)

InstrumentCoreInfoโ€‹

protected InstrumentCoreInfo(InstrumentCoreInfo.BuilderBase<?> builder)

Methodsโ€‹

toBuilderโ€‹

public InstrumentCoreInfo.BuilderBase<?> toBuilder()

toStringโ€‹

public String toString()

Overrides: toString in class Object

hashCodeโ€‹

public int hashCode()

Overrides: hashCode in class Object

equalsโ€‹

public boolean equals(Object obj)

Overrides: equals in class Object

normalizeโ€‹

public InstrumentCoreInfo normalize()

Create a copy of this InstrumentInfo with all null fields transformed into empty strings.


Methods inherited from class java.lang.Object:

  • clone
  • finalize
  • getClass
  • notify
  • notifyAll
  • wait
  • wait(long)
  • wait(long, int)