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 : uint

Limit number of trend bars in response back from toTimestamp.

CtidTraderAccountId : long

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

FromTimestamp : long

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

HasCount : bool

Gets whether the "count" field is set

HasCtidTraderAccountId : bool

Gets whether the "ctidTraderAccountId" field is set

HasFromTimestamp : bool

Gets whether the "fromTimestamp" field is set

HasPayloadType : bool

Gets whether the "payloadType" field is set

HasPeriod : bool

Gets whether the "period" field is set

HasSymbolId : bool

Gets whether the "symbolId" field is set

HasToTimestamp : bool

Gets whether the "toTimestamp" field is set

Period : ProtoOATrendbarPeriod

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

SymbolId : long

Unique identifier of the Symbol in cTrader platform.

ToTimestamp : long

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

Methods

ClearCount()

Clears the value of the "count" field

ClearCtidTraderAccountId()

Clears the value of the "ctidTraderAccountId" field

ClearFromTimestamp()

Clears the value of the "fromTimestamp" field

ClearPayloadType()

Clears the value of the "payloadType" field

ClearPeriod()

Clears the value of the "period" field

ClearSymbolId()

Clears the value of the "symbolId" field

ClearToTimestamp()

Clears the value of the "toTimestamp" field

Fields

CountFieldNumber : int

Field number for the "count" field.

CtidTraderAccountIdFieldNumber : int

Field number for the "ctidTraderAccountId" field.

FromTimestampFieldNumber : int

Field number for the "fromTimestamp" field.

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.

PeriodFieldNumber : int

Field number for the "period" field.

SymbolIdFieldNumber : int

Field number for the "symbolId" field.

ToTimestampFieldNumber : int

Field number for the "toTimestamp" field.