Class SpreadOrder
Spread order event is a snapshot for a full available market depth for all spreads on a given underlying symbol. The collection of spread order events of a symbol represents the most recent information that is available about spread orders on the market at any given moment of time.
Spread order is similar to a regular Order, but it has a SpreadSymbol property that contains the symbol of the actual spread that is being represented by spread order object. EventSymbol property contains the underlying symbol that was used in subscription.
For more details see Javadoc.[EventCode(EventCodeNative.SpreadOrder)]
public class SpreadOrder : OrderBase, IIndexedEvent, IEventType
- Inheritance
-
SpreadOrder
- Implements
- Inherited Members
Constructors
SpreadOrder()
Initializes a new instance of the SpreadOrder class.
public SpreadOrder()
SpreadOrder(string?)
Initializes a new instance of the SpreadOrder class with the specified event symbol.
public SpreadOrder(string? eventSymbol)
Parameters
eventSymbol
stringThe specified event symbol.
Properties
SpreadSymbol
Gets or sets spread symbol of this event.
public string? SpreadSymbol { get; set; }
Property Value
Methods
ToString()
Returns string representation of this spread order event.
public override string ToString()
Returns
- string
The string representation.