ProtoOAExpectedMarginRes
* The response to the ProtoOAExpectedMarginReq request.
Implements: IMessage<ProtoOAExpectedMarginRes>, IMessage, IEquatable<ProtoOAExpectedMarginRes>, IDeepCloneable<ProtoOAExpectedMarginRes>, IBufferMessage
Properties
public long CtidTraderAccountId { get; set; }
value = protoOAExpectedMarginRes.CtidTraderAccountId
protoOAExpectedMarginRes.CtidTraderAccountId = value
Unique identifier of the trader's account. Used to match responses to trader's accounts.
public bool HasCtidTraderAccountId { get; }
value = protoOAExpectedMarginRes.HasCtidTraderAccountId
Gets whether the "ctidTraderAccountId" field is set
public bool HasMoneyDigits { get; }
value = protoOAExpectedMarginRes.HasMoneyDigits
Gets whether the "moneyDigits" field is set
public bool HasPayloadType { get; }
value = protoOAExpectedMarginRes.HasPayloadType
Gets whether the "payloadType" field is set
public RepeatedField<ProtoOAExpectedMargin> Margin { get; }
value = protoOAExpectedMarginRes.Margin
The buy and sell margin estimate.
public uint MoneyDigits { get; set; }
value = protoOAExpectedMarginRes.MoneyDigits
protoOAExpectedMarginRes.MoneyDigits = value
Specifies the exponent of the monetary values. E.g. moneyDigits = 8 must be interpret as business value multiplied by 10^8, then real balance would be 10053099944 / 10^8 = 100.53099944. Affects margin.buyMargin, margin.sellMargin.
Methods
public void ClearCtidTraderAccountId()
protoOAExpectedMarginRes.ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
public void ClearMoneyDigits()
protoOAExpectedMarginRes.ClearMoneyDigits()
Clears the value of the "moneyDigits" field
public void ClearPayloadType()
protoOAExpectedMarginRes.ClearPayloadType()
Clears the value of the "payloadType" field
Fields
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAExpectedMarginRes.CtidTraderAccountIdFieldNumber
Field number for the "ctidTraderAccountId" field.
public const int MarginFieldNumber
value = ProtoOAExpectedMarginRes.MarginFieldNumber
Field number for the "margin" field.
public const int MoneyDigitsFieldNumber
value = ProtoOAExpectedMarginRes.MoneyDigitsFieldNumber
Field number for the "moneyDigits" field.
public const int PayloadTypeFieldNumber
value = ProtoOAExpectedMarginRes.PayloadTypeFieldNumber
Field number for the "payloadType" field.