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)