Class BookBase<T>
Represents base class for order books.
Namespace: OnixS.CmeMdHandler
Assembly: OnixS.CmeMdHandler.dll
Syntax
public abstract class BookBase<T> : ICloneable where T : ImpliedPriceLevel
Type Parameters
Name | Description |
---|---|
T | Price level type. |
Properties
Asks
Gets asks collection.
Declaration
public ReadOnlyCollection<T> Asks { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<T> |
Bids
Gets bids collection.
Declaration
public ReadOnlyCollection<T> Bids { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<T> |
BookType
Gets book type.
Declaration
public OrderBookType BookType { get; }
Property Value
Type | Description |
---|---|
OrderBookType |
SecurityDefinition
Gets security definition.
Declaration
public ISecurityDefinition SecurityDefinition { get; }
Property Value
Type | Description |
---|---|
ISecurityDefinition |
SecurityId
Gets security id.
Declaration
public int SecurityId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Clone()
Make a clone of current object.
Declaration
public abstract object Clone()
Returns
Type | Description |
---|---|
System.Object | Clone of current object. |
ToDetailedString()
Convert object to detailed string representation.
Declaration
public abstract string ToDetailedString()
Returns
Type | Description |
---|---|
System.String | Detailed string representation of an object. |
ToString()
Convert object to string representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of an object. |