WsTransaction

StockSharp.Ws

Wire DTO for ExecutionMessage in the Transaction form — the richest of the three. Server→client (echo of client-submitted orders and any downstream updates).

Properties

AveragePrice
public decimal? AveragePrice { get; set; }
value = wsTransaction.AveragePrice
wsTransaction.AveragePrice = value

Wire field averagePrice.

Balance
public decimal? Balance { get; set; }
value = wsTransaction.Balance
wsTransaction.Balance = value

Wire field balance.

BrokerCode
public string BrokerCode { get; set; }
value = wsTransaction.BrokerCode
wsTransaction.BrokerCode = value

Wire field broker.

ClientCode
public string ClientCode { get; set; }
value = wsTransaction.ClientCode
wsTransaction.ClientCode = value

Wire field client.

Commission
public decimal? Commission { get; set; }
value = wsTransaction.Commission
wsTransaction.Commission = value

Wire field commission.

CommissionCurrency
public string CommissionCurrency { get; set; }
value = wsTransaction.CommissionCurrency
wsTransaction.CommissionCurrency = value

Wire field commissionCurrency.

Currency
public CurrencyTypes? Currency { get; set; }
value = wsTransaction.Currency
wsTransaction.Currency = value

Wire field currency.

DepoName
public string DepoName { get; set; }
value = wsTransaction.DepoName
wsTransaction.DepoName = value

Wire field depo.

Error
public string Error { get; set; }
value = wsTransaction.Error
wsTransaction.Error = value

Wire field error.

Initiator
public bool? Initiator { get; set; }
value = wsTransaction.Initiator
wsTransaction.Initiator = value

Wire field initiator.

IsCancelled
public bool IsCancelled { get; set; }
value = wsTransaction.IsCancelled
wsTransaction.IsCancelled = value

Wire field isCancelled.

IsManual
public bool? IsManual { get; set; }
value = wsTransaction.IsManual
wsTransaction.IsManual = value

Wire field isManual.

IsMarketMaker
public bool? IsMarketMaker { get; set; }
value = wsTransaction.IsMarketMaker
wsTransaction.IsMarketMaker = value

Wire field isMarketMaker.

IsOrder
public bool IsOrder { get; set; }
value = wsTransaction.IsOrder
wsTransaction.IsOrder = value

Wire field isOrder.

IsSystem
public bool? IsSystem { get; set; }
value = wsTransaction.IsSystem
wsTransaction.IsSystem = value

Wire field isSystem.

IsTrailing
public bool? IsTrailing { get; set; }
value = wsTransaction.IsTrailing
wsTransaction.IsTrailing = value

Wire field isTrailing.

IsUpTick
public bool? IsUpTick { get; set; }
value = wsTransaction.IsUpTick
wsTransaction.IsUpTick = value

Wire field isUpTick.

Latency
public long? Latency { get; set; }
value = wsTransaction.Latency
wsTransaction.Latency = value

Wire field latency. Microseconds.

Leverage
public int? Leverage { get; set; }
value = wsTransaction.Leverage
wsTransaction.Leverage = value

Wire field leverage.

LimitPrice
public decimal? LimitPrice { get; set; }
value = wsTransaction.LimitPrice
wsTransaction.LimitPrice = value

Wire field limitPrice.

LocalTime
public DateTime LocalTime { get; set; }
value = wsTransaction.LocalTime
wsTransaction.LocalTime = value

Wire field l.

MarginMode
public MarginModes? MarginMode { get; set; }
value = wsTransaction.MarginMode
wsTransaction.MarginMode = value

Wire field marginMode.

MarketPrice
public decimal? MarketPrice { get; set; }
value = wsTransaction.MarketPrice
wsTransaction.MarketPrice = value

Wire field marketPrice.

MinVolume
public decimal? MinVolume { get; set; }
value = wsTransaction.MinVolume
wsTransaction.MinVolume = value

Wire field minVolume.

OpenInterest
public decimal? OpenInterest { get; set; }
value = wsTransaction.OpenInterest
wsTransaction.OpenInterest = value

Wire field openInterest.

OrderId
public string OrderId { get; set; }
value = wsTransaction.OrderId
wsTransaction.OrderId = value

Wire field orderId.

OrderPrice
public decimal OrderPrice { get; set; }
value = wsTransaction.OrderPrice
wsTransaction.OrderPrice = value

Wire field orderPrice.

OrderState
public OrderStates? OrderState { get; set; }
value = wsTransaction.OrderState
wsTransaction.OrderState = value

Wire field orderState.

OrderStatus
public long? OrderStatus { get; set; }
value = wsTransaction.OrderStatus
wsTransaction.OrderStatus = value

Wire field orderStatus.

OrderType
public OrderTypes? OrderType { get; set; }
value = wsTransaction.OrderType
wsTransaction.OrderType = value

Wire field orderType.

OrderVolume
public decimal? OrderVolume { get; set; }
value = wsTransaction.OrderVolume
wsTransaction.OrderVolume = value

Wire field orderVolume.

OriginalTransactionId
public long OriginalTransactionId { get; set; }
value = wsTransaction.OriginalTransactionId
wsTransaction.OriginalTransactionId = value

Wire field originalTransactionId.

OriginSide
public Sides? OriginSide { get; set; }
value = wsTransaction.OriginSide
wsTransaction.OriginSide = value

Wire field originSide.

PnL
public decimal? PnL { get; set; }
value = wsTransaction.PnL
wsTransaction.PnL = value

Wire field pnl.

PortfolioName
public string PortfolioName { get; set; }
value = wsTransaction.PortfolioName
wsTransaction.PortfolioName = value

Wire field acc.

Position
public decimal? Position { get; set; }
value = wsTransaction.Position
wsTransaction.Position = value

Wire field position.

PositionEffect
public OrderPositionEffects? PositionEffect { get; set; }
value = wsTransaction.PositionEffect
wsTransaction.PositionEffect = value

Wire field positionEffect.

PostOnly
public bool? PostOnly { get; set; }
value = wsTransaction.PostOnly
wsTransaction.PostOnly = value

Wire field postOnly.

SecurityId
public WsSecurityId SecurityId { get; set; }
value = wsTransaction.SecurityId
wsTransaction.SecurityId = value

Wire field securityId.

SeqNum
public long SeqNum { get; set; }
value = wsTransaction.SeqNum
wsTransaction.SeqNum = value

Wire field sn.

ServerTime
public DateTime ServerTime { get; set; }
value = wsTransaction.ServerTime
wsTransaction.ServerTime = value

Wire field s.

Side
public Sides? Side { get; set; }
value = wsTransaction.Side
wsTransaction.Side = value

Wire field side.

Slippage
public decimal? Slippage { get; set; }
value = wsTransaction.Slippage
wsTransaction.Slippage = value

Wire field slippage.

StopPrice
public decimal? StopPrice { get; set; }
value = wsTransaction.StopPrice
wsTransaction.StopPrice = value

Wire field stopPrice.

StrategyId
public string StrategyId { get; set; }
value = wsTransaction.StrategyId
wsTransaction.StrategyId = value

Wire field strategyId.

TradeId
public string TradeId { get; set; }
value = wsTransaction.TradeId
wsTransaction.TradeId = value

Wire field tradeId.

TradePrice
public decimal? TradePrice { get; set; }
value = wsTransaction.TradePrice
wsTransaction.TradePrice = value

Wire field tradePrice.

TradeStatus
public long? TradeStatus { get; set; }
value = wsTransaction.TradeStatus
wsTransaction.TradeStatus = value

Wire field tradeStatus.

TradeVolume
public decimal? TradeVolume { get; set; }
value = wsTransaction.TradeVolume
wsTransaction.TradeVolume = value

Wire field tradeVolume.

TrailingOffset
public decimal? TrailingOffset { get; set; }
value = wsTransaction.TrailingOffset
wsTransaction.TrailingOffset = value

Wire field trailingOffset.

TransactionId
public long TransactionId { get; set; }
value = wsTransaction.TransactionId
wsTransaction.TransactionId = value

Wire field transactionId.

UserOrderId
public string UserOrderId { get; set; }
value = wsTransaction.UserOrderId
wsTransaction.UserOrderId = value

Wire field userOrderId.

VisibleVolume
public decimal? VisibleVolume { get; set; }
value = wsTransaction.VisibleVolume
wsTransaction.VisibleVolume = value

Wire field visibleVolume.

Yield
public decimal? Yield { get; set; }
value = wsTransaction.Yield
wsTransaction.Yield = value

Wire field yield.

Methods

From
public static WsTransaction From(ExecutionMessage msg)
result = WsTransaction.From(msg)

From.

ToMessage
public ExecutionMessage ToMessage()
result = wsTransaction.ToMessage()

ToMessage.