Show / Hide Table of Contents

Class QuikOrderCondition

StockSharp.Quik order condition.

Inheritance
Object
OrderCondition
QuikOrderCondition
Implements
IStopLossOrderCondition
ITakeProfitOrderCondition
IRepoOrderCondition
INtmOrderCondition
Inherited Members
OrderCondition.Clone()
OrderCondition.ToString()
OrderCondition.Parameters
Namespace: StockSharp.Quik
Assembly: StockSharp.Quik.dll
Syntax
[DisplayNameLoc("Str2264", "Quik")]
public class QuikOrderCondition : OrderCondition, IStopLossOrderCondition, ITakeProfitOrderCondition, IRepoOrderCondition, INtmOrderCondition

Constructors

QuikOrderCondition()

Create QuikOrderCondition.

Declaration
public QuikOrderCondition()

Properties

ActiveTime

Время проверки условий заявки только в течение заданного периода времени (если значение null, то не проверять). Используется для заявок типов «Тэйк-профит и стоп-лимит» и «Тэйк-профит и стоп-лимит по заявке».

Declaration
[DisplayNameLoc("Str1749")]
[DescriptionLoc("Str1750", false)]
[CategoryLoc("Str225")]
public Range<DateTimeOffset> ActiveTime { get; set; }
Property Value
Type Description
Ecng.ComponentModel.Range<DateTimeOffset>

ConditionOrderId

Идентификатор заявки-условия.

Declaration
[CategoryLoc("Str225")]
[DisplayNameLoc("Str1751")]
[DescriptionLoc("Str1751", true)]
public Nullable<long> ConditionOrderId { get; set; }
Property Value
Type Description
Nullable<Int64>

ConditionOrderPartiallyMatched

Частичное исполнение заявки учитывается. Заявка «по исполнению» будет активирована при частичном исполнении заявки-условия ConditionOrderId. Если false (или null), то заявка «по исполнению» активируется только при полном исполнении заявки-условия ConditionOrderId.

Declaration
[CategoryLoc("Str225")]
[DescriptionLoc("Str1756", false)]
[DisplayNameLoc("Str1755")]
public Nullable<bool> ConditionOrderPartiallyMatched { get; set; }
Property Value
Type Description
Nullable<Boolean>

ConditionOrderSide

Stop-order side.

Declaration
[CategoryLoc("Str225")]
[DisplayNameLoc("Str1753")]
[DescriptionLoc("Str1754", false)]
public Nullable<Sides> ConditionOrderSide { get; set; }
Property Value
Type Description
Nullable<Sides>

ConditionOrderUseMatchedBalance

Брать исполненный объем заявки в качестве количества выставляемой стоп-заявки. В качестве количества бумаг в заявке «по исполнению» принимается исполненный объем заявки-условия ConditionOrderId. Если false (или null), то объем заявки указывается явно в свойство Volume.

Declaration
[CategoryLoc("Str225")]
[DisplayNameLoc("Str1757")]
[DescriptionLoc("Str1758", false)]
public Nullable<bool> ConditionOrderUseMatchedBalance { get; set; }
Property Value
Type Description
Nullable<Boolean>

IsMarketStopLimit

Признак исполнения заявки «Стоп-лимит» по рыночной цене.

Declaration
[CategoryLoc("Str225")]
[DisplayNameLoc("Str1747")]
[DescriptionLoc("Str1748", false)]
public Nullable<bool> IsMarketStopLimit { get; set; }
Property Value
Type Description
Nullable<Boolean>

IsMarketTakeProfit

Признак исполнения заявки «Тэйк-профит» по рыночной цене.

Declaration
[DisplayNameLoc("Str1767")]
[DescriptionLoc("Str1768", false)]
[CategoryLoc("Str225")]
public Nullable<bool> IsMarketTakeProfit { get; set; }
Property Value
Type Description
Nullable<Boolean>

IsNtm

NTM.

Declaration
public bool IsNtm { get; set; }
Property Value
Type Description
Boolean

IsRepo

REPO.

Declaration
public bool IsRepo { get; set; }
Property Value
Type Description
Boolean

LinkedOrderCancel

Признак снятия стоп-заявки при частичном исполнении связанной лимитированной заявки.

Declaration
[DescriptionLoc("Str1762", false)]
[CategoryLoc("Str225")]
[DisplayNameLoc("Str1761")]
public Nullable<bool> LinkedOrderCancel { get; set; }
Property Value
Type Description
Nullable<Boolean>

LinkedOrderPrice

Цена связанной лимитированной заявки.

Declaration
[CategoryLoc("Str225")]
[DescriptionLoc("Str1760", false)]
[DisplayNameLoc("Str1759")]
public Nullable<Decimal> LinkedOrderPrice { get; set; }
Property Value
Type Description
Nullable<Decimal>

NtmInfo

Information for Negotiated Trades Mode orders.

Declaration
public NtmOrderInfo NtmInfo { get; set; }
Property Value
Type Description
NtmOrderInfo

Offset

Величина отступа от максимума (минимума) цены последней сделки.

Declaration
[DisplayNameLoc("Str1763")]
[CategoryLoc("Str225")]
[DescriptionLoc("Str1764", false)]
public Unit Offset { get; set; }
Property Value
Type Description
Unit

OtherSecurityId

Идентификатор инструмента для стоп-заявок с условием по другому инструменту.

Declaration
[DisplayNameLoc("SecurityId")]
[CategoryLoc("Str225")]
[DescriptionLoc("Str1740", false)]
public Nullable<SecurityId> OtherSecurityId { get; set; }
Property Value
Type Description
Nullable<SecurityId>

RepoInfo

Information for REPO\REPO-M orders.

Declaration
public RepoOrderInfo RepoInfo { get; set; }
Property Value
Type Description
RepoOrderInfo

Spread

Величина защитного спрэда.

Declaration
[CategoryLoc("Str225")]
[DisplayNameLoc("Str3536")]
[DescriptionLoc("Str1766", false)]
public Unit Spread { get; set; }
Property Value
Type Description
Unit

StopLimitPrice

Стоп-лимит цена. Аналогична StopPrice, но используется только при типе заявки «Тэйк-профит и стоп-лимит».

Declaration
[DescriptionLoc("Str1746", false)]
[DisplayNameLoc("Str1745")]
[CategoryLoc("Str225")]
public Nullable<Decimal> StopLimitPrice { get; set; }
Property Value
Type Description
Nullable<Decimal>

StopPrice

Стоп цена, которая задает условие срабатывания стоп-заявки. Например, для заявок типа «Стоп-цена по другой бумаге» условие имеет вид: «Если цена <=» (или «>=») и означает исполнение заявки, если цена последней сделки по другому инструменту пересечет указанное значение.

Declaration
[DisplayNameLoc("Str1743")]
[DescriptionLoc("Str1744", false)]
[CategoryLoc("Str225")]
public Nullable<Decimal> StopPrice { get; set; }
Property Value
Type Description
Nullable<Decimal>

StopPriceCondition

Условие стоп-цены. Используется для заявок типа «Стоп-цена по другой бумаге».

Declaration
[CategoryLoc("Str225")]
[DescriptionLoc("Str1742", false)]
[DisplayNameLoc("Str1741")]
public Nullable<QuikStopPriceConditions> StopPriceCondition { get; set; }
Property Value
Type Description
Nullable<QuikStopPriceConditions>

Type

Тип стоп-заявки.

Declaration
[DisplayNameLoc("Str1737")]
[CategoryLoc("Str225")]
[DescriptionLoc("Str1691", false)]
public Nullable<QuikOrderConditionTypes> Type { get; set; }
Property Value
Type Description
Nullable<QuikOrderConditionTypes>

Explicit Interface Implementations

ITakeProfitOrderCondition.get_ClosePositionPrice()

Declaration
Nullable<Decimal> ITakeProfitOrderCondition.get_ClosePositionPrice()
Returns
Type Description
Nullable<Decimal>

IStopLossOrderCondition.get_ActivationPrice()

Declaration
Nullable<Decimal> IStopLossOrderCondition.get_ActivationPrice()
Returns
Type Description
Nullable<Decimal>

ITakeProfitOrderCondition.get_ActivationPrice()

Declaration
Nullable<Decimal> ITakeProfitOrderCondition.get_ActivationPrice()
Returns
Type Description
Nullable<Decimal>

IStopLossOrderCondition.set_ClosePositionPrice(Nullable<Decimal>)

Declaration
void IStopLossOrderCondition.set_ClosePositionPrice(Nullable<Decimal> #=zheC4Va4=)
Parameters
Type Name Description
Nullable<Decimal> #=zheC4Va4=

IStopLossOrderCondition.set_ActivationPrice(Nullable<Decimal>)

Declaration
void IStopLossOrderCondition.set_ActivationPrice(Nullable<Decimal> #=zheC4Va4=)
Parameters
Type Name Description
Nullable<Decimal> #=zheC4Va4=

ITakeProfitOrderCondition.set_IsTrailing(Boolean)

Declaration
void ITakeProfitOrderCondition.set_IsTrailing(bool #=zheC4Va4=)
Parameters
Type Name Description
Boolean #=zheC4Va4=

ITakeProfitOrderCondition.set_ClosePositionPrice(Nullable<Decimal>)

Declaration
void ITakeProfitOrderCondition.set_ClosePositionPrice(Nullable<Decimal> #=zheC4Va4=)
Parameters
Type Name Description
Nullable<Decimal> #=zheC4Va4=

IStopLossOrderCondition.get_IsTrailing()

Declaration
bool IStopLossOrderCondition.get_IsTrailing()
Returns
Type Description
Boolean

IStopLossOrderCondition.get_ClosePositionPrice()

Declaration
Nullable<Decimal> IStopLossOrderCondition.get_ClosePositionPrice()
Returns
Type Description
Nullable<Decimal>

ITakeProfitOrderCondition.get_IsTrailing()

Declaration
bool ITakeProfitOrderCondition.get_IsTrailing()
Returns
Type Description
Boolean

IStopLossOrderCondition.set_IsTrailing(Boolean)

Declaration
void IStopLossOrderCondition.set_IsTrailing(bool #=zheC4Va4=)
Parameters
Type Name Description
Boolean #=zheC4Va4=

ITakeProfitOrderCondition.set_ActivationPrice(Nullable<Decimal>)

Declaration
void ITakeProfitOrderCondition.set_ActivationPrice(Nullable<Decimal> #=zheC4Va4=)
Parameters
Type Name Description
Nullable<Decimal> #=zheC4Va4=

Implements

IStopLossOrderCondition
ITakeProfitOrderCondition
IRepoOrderCondition
INtmOrderCondition

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
Extensions.TryGet<TMessage, TChange>(TMessage, TChange)
Extensions.TryGetDecimal<TMessage, TChange>(TMessage, TChange)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Object)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Decimal)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Int32)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Int64)
Extensions.Add<TMessage, TChange>(TMessage, TChange, SecurityStates)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<SecurityStates>)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, String)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Sides)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Sides>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, CurrencyTypes)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<CurrencyTypes>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, PortfolioStates)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<PortfolioStates>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, DateTimeOffset)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<DateTimeOffset>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Boolean>)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Decimal, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Decimal>, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Int32, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Int32>, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Int64, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Int64>, Boolean)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾