Class Quote
Market depth quote representing bid or ask.
Implements
Namespace: StockSharp.BusinessEntities
Assembly: StockSharp.BusinessEntities.dll
Syntax
[DisplayNameLoc("Str273")]
[DescriptionLoc("Str274", false)]
public class Quote : Cloneable<Quote>, IExtendableEntity
Constructors
Quote()
Initializes a new instance of the Quote.
Declaration
public Quote()
Quote(Security, Decimal, Decimal, Sides, Nullable<Int32>, QuoteConditions)
Initializes a new instance of the Quote.
Declaration
public Quote(Security security, Decimal price, Decimal volume, Sides side, Nullable<int> ordersCount = null, QuoteConditions condition)
Parameters
Type | Name | Description |
---|---|---|
Security | security | The instrument by which the quote is received. |
Decimal | price | Quote price. |
Decimal | volume | Quote volume. |
Sides | side | Direction (buy or sell). |
Nullable<Int32> | ordersCount | Orders count. |
QuoteConditions | condition | Condition. |
Properties
Condition
Quote condition.
Declaration
public QuoteConditions Condition { get; set; }
Property Value
Type | Description |
---|---|
QuoteConditions |
ExtensionInfo
Extended information.
Declaration
[DisplayNameLoc("ExtendedInfo")]
[DescriptionLoc("Str427", false)]
public IDictionary<string, object> ExtensionInfo { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<String, Object> |
Remarks
Required when extra information is stored in the program.
OrderDirection
Direction (buy or sell).
Declaration
[DisplayNameLoc("Str128")]
[DescriptionLoc("Str277", false)]
public Sides OrderDirection { get; set; }
Property Value
Type | Description |
---|---|
Sides |
OrdersCount
Orders count.
Declaration
public Nullable<int> OrdersCount { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Price
Quote price.
Declaration
[DisplayNameLoc("Price")]
[DescriptionLoc("Str275", false)]
public Decimal Price { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
Security
The instrument by which the quote is received.
Declaration
public Security Security { get; set; }
Property Value
Type | Description |
---|---|
Security |
Volume
Quote volume.
Declaration
[DisplayNameLoc("Volume")]
[DescriptionLoc("Str276", false)]
public Decimal Volume { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
Methods
Clone()
Create a copy of Quote.
Declaration
public override Quote Clone()
Returns
Type | Description |
---|---|
Quote | Copy. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |