ProtoOAExpectedMargin

StockSharp.cTrader.Native.Model

* Expected margin computation entity.

Implements: IMessage<ProtoOAExpectedMargin>, IMessage, IEquatable<ProtoOAExpectedMargin>, IDeepCloneable<ProtoOAExpectedMargin>, IBufferMessage

Properties

BuyMargin : long

Buy margin amount.

HasBuyMargin : bool

Gets whether the "buyMargin" field is set

HasSellMargin : bool

Gets whether the "sellMargin" field is set

HasVolume : bool

Gets whether the "volume" field is set

SellMargin : long

Sell margin amount.

Volume : long

Volume in cents used for computation of expected margin.

Methods

ClearBuyMargin()

Clears the value of the "buyMargin" field

ClearSellMargin()

Clears the value of the "sellMargin" field

ClearVolume()

Clears the value of the "volume" field

Fields

BuyMarginFieldNumber : int

Field number for the "buyMargin" field.

SellMarginFieldNumber : int

Field number for the "sellMargin" field.

VolumeFieldNumber : int

Field number for the "volume" field.