ProtoOAGetTrendbarsReq

StockSharp.cTrader.Native.Model

* Request for getting historical trend bars for the symbol.

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

Properties

Count
public uint Count { get; set; }
value = protoOAGetTrendbarsReq.Count
protoOAGetTrendbarsReq.Count = value

Limit number of trend bars in response back from toTimestamp.

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

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

FromTimestamp
public long FromTimestamp { get; set; }
value = protoOAGetTrendbarsReq.FromTimestamp
protoOAGetTrendbarsReq.FromTimestamp = value

The Unix time in milliseconds from which the search starts. Must be bigger or equal to zero (1st Jan 1970).

HasCount
public bool HasCount { get; }
value = protoOAGetTrendbarsReq.HasCount

Gets whether the "count" field is set

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

Gets whether the "ctidTraderAccountId" field is set

HasFromTimestamp
public bool HasFromTimestamp { get; }
value = protoOAGetTrendbarsReq.HasFromTimestamp

Gets whether the "fromTimestamp" field is set

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

Gets whether the "payloadType" field is set

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

Gets whether the "period" field is set

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

Gets whether the "symbolId" field is set

HasToTimestamp
public bool HasToTimestamp { get; }
value = protoOAGetTrendbarsReq.HasToTimestamp

Gets whether the "toTimestamp" field is set

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

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

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

Unique identifier of the Symbol in cTrader platform.

ToTimestamp
public long ToTimestamp { get; set; }
value = protoOAGetTrendbarsReq.ToTimestamp
protoOAGetTrendbarsReq.ToTimestamp = value

The Unix time in milliseconds of finishing the search. Smaller or equal to 2147483646000 (19th Jan 2038).

Methods

ClearCount
public void ClearCount()
protoOAGetTrendbarsReq.ClearCount()

Clears the value of the "count" field

ClearCtidTraderAccountId
public void ClearCtidTraderAccountId()
protoOAGetTrendbarsReq.ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearFromTimestamp
public void ClearFromTimestamp()
protoOAGetTrendbarsReq.ClearFromTimestamp()

Clears the value of the "fromTimestamp" field

ClearPayloadType
public void ClearPayloadType()
protoOAGetTrendbarsReq.ClearPayloadType()

Clears the value of the "payloadType" field

ClearPeriod
public void ClearPeriod()
protoOAGetTrendbarsReq.ClearPeriod()

Clears the value of the "period" field

ClearSymbolId
public void ClearSymbolId()
protoOAGetTrendbarsReq.ClearSymbolId()

Clears the value of the "symbolId" field

ClearToTimestamp
public void ClearToTimestamp()
protoOAGetTrendbarsReq.ClearToTimestamp()

Clears the value of the "toTimestamp" field

Fields

CountFieldNumber
public const int CountFieldNumber
value = ProtoOAGetTrendbarsReq.CountFieldNumber

Field number for the "count" field.

CtidTraderAccountIdFieldNumber
public const int CtidTraderAccountIdFieldNumber
value = ProtoOAGetTrendbarsReq.CtidTraderAccountIdFieldNumber

Field number for the "ctidTraderAccountId" field.

FromTimestampFieldNumber
public const int FromTimestampFieldNumber
value = ProtoOAGetTrendbarsReq.FromTimestampFieldNumber

Field number for the "fromTimestamp" field.

PayloadTypeFieldNumber
public const int PayloadTypeFieldNumber
value = ProtoOAGetTrendbarsReq.PayloadTypeFieldNumber

Field number for the "payloadType" field.

PeriodFieldNumber
public const int PeriodFieldNumber
value = ProtoOAGetTrendbarsReq.PeriodFieldNumber

Field number for the "period" field.

SymbolIdFieldNumber
public const int SymbolIdFieldNumber
value = ProtoOAGetTrendbarsReq.SymbolIdFieldNumber

Field number for the "symbolId" field.

ToTimestampFieldNumber
public const int ToTimestampFieldNumber
value = ProtoOAGetTrendbarsReq.ToTimestampFieldNumber

Field number for the "toTimestamp" field.