ProtoOAGetTrendbarsRes

StockSharp.cTrader.Native.Model

* Response to the ProtoOAGetTrendbarsReq request.

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

Properties

CtidTraderAccountId
public long CtidTraderAccountId { get; set; }
value = protoOAGetTrendbarsRes.CtidTraderAccountId
protoOAGetTrendbarsRes.CtidTraderAccountId = value

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

HasCtidTraderAccountId
public bool HasCtidTraderAccountId { get; }
value = protoOAGetTrendbarsRes.HasCtidTraderAccountId

Gets whether the "ctidTraderAccountId" field is set

HasHasMore
public bool HasHasMore { get; }
value = protoOAGetTrendbarsRes.HasHasMore

Gets whether the "hasMore" field is set

HasMore
public bool HasMore { get; set; }
value = protoOAGetTrendbarsRes.HasMore
protoOAGetTrendbarsRes.HasMore = value

If TRUE then the number of records by filter is larger than chunkSize, the response contains the number of records that is equal to chunkSize.

HasPayloadType
public bool HasPayloadType { get; }
value = protoOAGetTrendbarsRes.HasPayloadType

Gets whether the "payloadType" field is set

HasPeriod
public bool HasPeriod { get; }
value = protoOAGetTrendbarsRes.HasPeriod

Gets whether the "period" field is set

HasSymbolId
public bool HasSymbolId { get; }
value = protoOAGetTrendbarsRes.HasSymbolId

Gets whether the "symbolId" field is set

HasTimestamp
public bool HasTimestamp { get; }
value = protoOAGetTrendbarsRes.HasTimestamp

Gets whether the "timestamp" field is set

Period
public ProtoOATrendbarPeriod Period { get; set; }
value = protoOAGetTrendbarsRes.Period
protoOAGetTrendbarsRes.Period = value

Specifies period of trend bar series (e.g. M1, M10, etc.).

SymbolId
public long SymbolId { get; set; }
value = protoOAGetTrendbarsRes.SymbolId
protoOAGetTrendbarsRes.SymbolId = value

Unique identifier of the Symbol in cTrader platform.

Timestamp
public long Timestamp { get; set; }
value = protoOAGetTrendbarsRes.Timestamp
protoOAGetTrendbarsRes.Timestamp = value

Simply don't use this field, as your original request already contains toTimestamp.

Trendbar
public RepeatedField<ProtoOATrendbar> Trendbar { get; }
value = protoOAGetTrendbarsRes.Trendbar

The list of trend bars.

Methods

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAGetTrendbarsRes.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearHasMore
public void ClearHasMore()
protoOAGetTrendbarsRes.ClearHasMore()

Clears the value of the "hasMore" field

ClearPayloadType
public void ClearPayloadType()
protoOAGetTrendbarsRes.ClearPayloadType()

Clears the value of the "payloadType" field

ClearPeriod
public void ClearPeriod()
protoOAGetTrendbarsRes.ClearPeriod()

Clears the value of the "period" field

ClearSymbolId
public void ClearSymbolId()
protoOAGetTrendbarsRes.ClearSymbolId()

Clears the value of the "symbolId" field

ClearTimestamp
public void ClearTimestamp()
protoOAGetTrendbarsRes.ClearTimestamp()

Clears the value of the "timestamp" field

Fields

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAGetTrendbarsRes.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

HasMoreFieldNumber
public const int HasMoreFieldNumber
value = ProtoOAGetTrendbarsRes.HasMoreFieldNumber

Field number for the "hasMore" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAGetTrendbarsRes.PayloadTypeFieldNumber

Field number for the "payloadType" field.

PeriodFieldNumber
public const int PeriodFieldNumber
value = ProtoOAGetTrendbarsRes.PeriodFieldNumber

Field number for the "period" field.

SymbolIdFieldNumber
public const int SymbolIdFieldNumber
value = ProtoOAGetTrendbarsRes.SymbolIdFieldNumber

Field number for the "symbolId" field.

TimestampFieldNumber
public const int TimestampFieldNumber
value = ProtoOAGetTrendbarsRes.TimestampFieldNumber

Field number for the "timestamp" field.

TrendbarFieldNumber
public const int TrendbarFieldNumber
value = ProtoOAGetTrendbarsRes.TrendbarFieldNumber

Field number for the "trendbar" field.