Class InstrumentCoreInfo

java.lang.Object
velox.api.layer1.data.InstrumentCoreInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InstrumentInfo

public class InstrumentCoreInfo extends Object implements Serializable
Minimal sufficient amount of data to identify the instrument within any platform
See Also:
  • Field Details

    • 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"
  • Constructor Details

    • InstrumentCoreInfo

      public InstrumentCoreInfo(String symbol, String exchange, String type)
  • Method Details

    • 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