WsTransaction

StockSharp.Ws

交易表为ExecutionMessage提供线性DTO,是三个交易表中最富有的。Server – 客户端(客户端提交订单的处理方式和任何下游更新)。

属性

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

线地平衡.

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

电线场经纪人.

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

线地客户端.

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

电线现场委员会.

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

电线地币.

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

线地德波.

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

线地出错.

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

电线场发起者.

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

电线场空余时间 微秒

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

线地杠杆.

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

电线场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

电线场 pnl.

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

线地活活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活口活活口活口活口活口活活活口活活活口活口活活口活活口活口活口活活口活口活活口活口活口活活口活活活口活活活活活活

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

电线场位置.

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

电线场 sn.

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

电线场 s.

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

电线场侧.

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

线地滑行.

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

线地收成.

方法

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

从.

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

ToMessage.