Struct HeatmapMboStatus
State of the MBO (market by order) data of the heatmap for an instrument, as the Status of
HeatmapMboDataSnapshot. Check Kind before using the data.
Added in ATAS 8.0.15.
public readonly struct HeatmapMboStatus
- Extension Methods
Constructors
HeatmapMboStatus(HeatmapMboStatusKind, string, bool)
Creates a status.
public HeatmapMboStatus(HeatmapMboStatusKind kind, string message = "", bool isGracePeriod = false)
Parameters
kindHeatmapMboStatusKindThe state of the data.
messagestringText for the user that explains the state; null is stored as an empty string.
isGracePeriodboolWhether a NoData state is provisional.
Properties
IsGracePeriod
Whether a NoData state is provisional: the history is loaded and empty, and the first live MBO updates may still arrive (the heatmap shows "Waiting for MBO data..." instead of "no data").
public bool IsGracePeriod { get; }
Property Value
- bool
Kind
The state of the data.
public HeatmapMboStatusKind Kind { get; }
Property Value
Message
Text for the user that explains the state (localized, except an error, which is the exception type and message);
empty when there is none, for example for Ok, and null in a
default value.
public string Message { get; }
Property Value
- string
Methods
Equals(HeatmapMboStatus)
public bool Equals(HeatmapMboStatus other)
Parameters
otherHeatmapMboStatus
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(HeatmapMboStatus, HeatmapMboStatus)
public static bool operator ==(HeatmapMboStatus left, HeatmapMboStatus right)
Parameters
leftHeatmapMboStatusrightHeatmapMboStatus
Returns
- bool
operator !=(HeatmapMboStatus, HeatmapMboStatus)
public static bool operator !=(HeatmapMboStatus left, HeatmapMboStatus right)
Parameters
leftHeatmapMboStatusrightHeatmapMboStatus
Returns
- bool