CryBroWSOrderCondition

StockSharp.CryBro.WS

Conditional-order condition for the CryBro WS connector. Carries both the stop flavour (stop-loss / take-profit) and the algorithmic-execution flavour (TWAP / VWAP / Iceberg / NBBO). The flavour is told apart by AlgoKind: when it is null the order is a plain stop, otherwise it is an algo parent the router forwards to the algo server.

Inherits: OrderCondition

Implements: IStopLossOrderCondition, ITakeProfitOrderCondition

Properties

ActivationPrice
public decimal? ActivationPrice { get; set; }
value = cryBroWSOrderCondition.ActivationPrice
cryBroWSOrderCondition.ActivationPrice = value

The absolute value of the price when the one is reached the protective strategy is activated.

AlgoEndAt
public DateTime? AlgoEndAt { get; set; }
value = cryBroWSOrderCondition.AlgoEndAt
cryBroWSOrderCondition.AlgoEndAt = value

UTC time the algo must finish by (then cancels the remainder).

AlgoKind
public int? AlgoKind { get; set; }
value = cryBroWSOrderCondition.AlgoKind
cryBroWSOrderCondition.AlgoKind = value

Algorithmic-execution kind (1=TWAP, 2=VWAP, 3=Iceberg, 4=NBBO), matching the server-side AlgoOrderKind enum. Null on a plain stop order.

AlgoParametersJson
public string AlgoParametersJson { get; set; }
value = cryBroWSOrderCondition.AlgoParametersJson
cryBroWSOrderCondition.AlgoParametersJson = value

JSON of per-algo parameters (slice count, display volume, participation rate, …). Algo-specific schema, opaque to the wire/condition.

AlgoStartAt
public DateTime? AlgoStartAt { get; set; }
value = cryBroWSOrderCondition.AlgoStartAt
cryBroWSOrderCondition.AlgoStartAt = value

UTC time the algo should start working.

ClosePositionPrice
public decimal? ClosePositionPrice { get; set; }
value = cryBroWSOrderCondition.ClosePositionPrice
cryBroWSOrderCondition.ClosePositionPrice = value

Close position price. means close by market.

IsTrailing
public bool IsTrailing { get; set; }
value = cryBroWSOrderCondition.IsTrailing
cryBroWSOrderCondition.IsTrailing = value

Trailing stop-loss.