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()
Создать Quote.
Declaration
public Quote()
Quote(Security, Decimal, Decimal, Sides, Nullable<Int32>, QuoteConditions)
Создать Quote.
Declaration
public Quote(Security security, Decimal price, Decimal volume, Sides side, Nullable<int> ordersCount = null, QuoteConditions condition)
Parameters
Type | Name | Description |
---|---|---|
Security | security | Инструмент, по которому получена котировка. |
Decimal | price | Quote price. |
Decimal | volume | Quote volume. |
Sides | side | Direction (buy or sell). |
Nullable<Int32> | ordersCount | Количество заявок. |
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
Количество заявок.
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
Инструмент, по которому получена котировка.
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()
Создать копию Quote.
Declaration
public override Quote Clone()
Returns
Type | Description |
---|---|
Quote | Копия объекта. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |