QuikOrderCondition
Order condition specific to Quik.
Inherits: OrderCondition
Implements: IStopLossOrderCondition, ITakeProfitOrderCondition, IRepoOrderCondition, INtmOrderCondition
Constructors
public QuikOrderCondition()
quikOrderCondition = QuikOrderCondition()
Create QuikOrderCondition.
Properties
public ValueTuple<DateTime, DateTime> ActiveTime { get; set; }
value = quikOrderCondition.ActiveTime
quikOrderCondition.ActiveTime = value
The condition is checked only during the specified time range (if , do not check). Used for order types "Take-profit and stop-limit" and "Take-profit and stop-limit by order".
public long? ConditionOrderId { get; set; }
value = quikOrderCondition.ConditionOrderId
quikOrderCondition.ConditionOrderId = value
Conditional order identifier.
public bool? ConditionOrderPartiallyMatched { get; set; }
value = quikOrderCondition.ConditionOrderPartiallyMatched
quikOrderCondition.ConditionOrderPartiallyMatched = value
Partial execution is taken into account. The "on execution" order will be activated upon partial execution of the conditional order ConditionOrderId. If (or ), the "on execution" order is activated only upon full execution of the conditional order ConditionOrderId.
public Sides? ConditionOrderSide { get; set; }
value = quikOrderCondition.ConditionOrderSide
quikOrderCondition.ConditionOrderSide = value
Conditional order side.
public bool? ConditionOrderUseMatchedBalance { get; set; }
value = quikOrderCondition.ConditionOrderUseMatchedBalance
quikOrderCondition.ConditionOrderUseMatchedBalance = value
Use the executed volume of the conditional order as the quantity of the placed stop order. The number of instruments in the "on execution" order is taken from the executed volume of the conditional order ConditionOrderId. If (or ), the order volume is explicitly specified in OrderVolume.
public bool? IsMarketStopLimit { get; set; }
value = quikOrderCondition.IsMarketStopLimit
quikOrderCondition.IsMarketStopLimit = value
Execute a "Stop-limit" order at market price.
public bool? IsMarketTakeProfit { get; set; }
value = quikOrderCondition.IsMarketTakeProfit
quikOrderCondition.IsMarketTakeProfit = value
Execute a "Take-profit" order at market price.
public bool IsNtm { get; set; }
value = quikOrderCondition.IsNtm
quikOrderCondition.IsNtm = value
NTM.
public bool IsRepo { get; set; }
value = quikOrderCondition.IsRepo
quikOrderCondition.IsRepo = value
REPO.
public bool? LinkedOrderCancel { get; set; }
value = quikOrderCondition.LinkedOrderCancel
quikOrderCondition.LinkedOrderCancel = value
Cancel the stop order upon partial execution of the linked limit order.
public decimal? LinkedOrderPrice { get; set; }
value = quikOrderCondition.LinkedOrderPrice
quikOrderCondition.LinkedOrderPrice = value
Price of the linked limit order.
public NtmOrderInfo NtmInfo { get; set; }
value = quikOrderCondition.NtmInfo
quikOrderCondition.NtmInfo = value
Information for Negotiated Trades Mode orders.
public Unit Offset { get; set; }
value = quikOrderCondition.Offset
quikOrderCondition.Offset = value
Offset value from the maximum (minimum) of the last trade price.
public SecurityId? OtherSecurityId { get; set; }
value = quikOrderCondition.OtherSecurityId
quikOrderCondition.OtherSecurityId = value
Instrument identifier for stop orders with a condition based on another instrument.
public RepoOrderInfo RepoInfo { get; set; }
value = quikOrderCondition.RepoInfo
quikOrderCondition.RepoInfo = value
Information for REPO\REPO-M orders.
public Unit Spread { get; set; }
value = quikOrderCondition.Spread
quikOrderCondition.Spread = value
Protective spread value.
public decimal? StopLimitPrice { get; set; }
value = quikOrderCondition.StopLimitPrice
quikOrderCondition.StopLimitPrice = value
Stop-limit price. Similar to StopPrice, but used only for the order type "Take-profit and stop-limit".
public decimal? StopPrice { get; set; }
value = quikOrderCondition.StopPrice
quikOrderCondition.StopPrice = value
Stop price that defines the activation condition of the stop order. For example, for orders of type "Stop price by another instrument", the condition looks like: "If price <=" (or ">=") and means execution when the last trade price for the other instrument crosses the specified value.
public QuikStopPriceConditions? StopPriceCondition { get; set; }
value = quikOrderCondition.StopPriceCondition
quikOrderCondition.StopPriceCondition = value
Stop-price condition. Used for orders of type "Stop price by another instrument".
public QuikOrderConditionTypes? Type { get; set; }
value = quikOrderCondition.Type
quikOrderCondition.Type = value
Stop-order type.