ProtoOAExpectedMarginReq

StockSharp.cTrader.Native.Model

* Request for getting the margin estimate according to leverage profiles. Can be used before sending a new order request. This doesn't consider ACCORDING_TO_GSL margin calculation type, as this calculation is trivial: usedMargin = (VWAP price of the position - GSL price) * volume * Quote2Deposit.

実装: IMessage<ProtoOAExpectedMarginReq>, IMessage, IEquatable<ProtoOAExpectedMarginReq>, IDeepCloneable<ProtoOAExpectedMarginReq>, IBufferMessage

プロパティ

CtidTraderAccountId : long

Unique identifier of the trader's account. Used to match responses to trader's accounts.

HasCtidTraderAccountId : bool

Gets whether the "ctidTraderAccountId" field is set

HasPayloadType : bool

Gets whether the "payloadType" field is set

HasSymbolId : bool

Gets whether the "symbolId" field is set

SymbolId : long

Unique identifier of the Symbol in cTrader platform.

Volume : RepeatedField<long>

Volume represented in 0.01 of a unit (e.g. cents).

メソッド

ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearPayloadType()

Clears the value of the "payloadType" field

ClearSymbolId()

Clears the value of the "symbolId" field

フィールド

CtidTraderAccountIdFieldNumber : int

Field number for the "ctidTraderAccountId" field.

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.

SymbolIdFieldNumber : int

Field number for the "symbolId" field.

VolumeFieldNumber : int

Field number for the "volume" field.