ProtoOAHoliday

StockSharp.cTrader.Native.Model

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

Properties

Description
public string Description { get; set; }
value = protoOAHoliday.Description
protoOAHoliday.Description = value

Description of holiday.

EndSecond
public int EndSecond { get; set; }
value = protoOAHoliday.EndSecond
protoOAHoliday.EndSecond = value

Amount of seconds from 00:00:00 of the holiday day when holiday actually finishes.

HasDescription
public bool HasDescription { get; }
value = protoOAHoliday.HasDescription

Gets whether the "description" field is set

HasEndSecond
public bool HasEndSecond { get; }
value = protoOAHoliday.HasEndSecond

Gets whether the "endSecond" field is set

HasHolidayDate
public bool HasHolidayDate { get; }
value = protoOAHoliday.HasHolidayDate

Gets whether the "holidayDate" field is set

HasHolidayId
public bool HasHolidayId { get; }
value = protoOAHoliday.HasHolidayId

Gets whether the "holidayId" field is set

HasIsRecurring
public bool HasIsRecurring { get; }
value = protoOAHoliday.HasIsRecurring

Gets whether the "isRecurring" field is set

HasName
public bool HasName { get; }
value = protoOAHoliday.HasName

Gets whether the "name" field is set

HasScheduleTimeZone
public bool HasScheduleTimeZone { get; }
value = protoOAHoliday.HasScheduleTimeZone

Gets whether the "scheduleTimeZone" field is set

HasStartSecond
public bool HasStartSecond { get; }
value = protoOAHoliday.HasStartSecond

Gets whether the "startSecond" field is set

HolidayDate
public long HolidayDate { get; set; }
value = protoOAHoliday.HolidayDate
protoOAHoliday.HolidayDate = value

Amount of days from 1st Jan 1970, multiply it by 86400000 to get Unix time in milliseconds.

HolidayId
public long HolidayId { get; set; }
value = protoOAHoliday.HolidayId
protoOAHoliday.HolidayId = value

Unique ID of holiday.

IsRecurring
public bool IsRecurring { get; set; }
value = protoOAHoliday.IsRecurring
protoOAHoliday.IsRecurring = value

If TRUE, then the holiday happens each year.

Name
public string Name { get; set; }
value = protoOAHoliday.Name
protoOAHoliday.Name = value

Name of holiday.

ScheduleTimeZone
public string ScheduleTimeZone { get; set; }
value = protoOAHoliday.ScheduleTimeZone
protoOAHoliday.ScheduleTimeZone = value

Timezone used for holiday.

StartSecond
public int StartSecond { get; set; }
value = protoOAHoliday.StartSecond
protoOAHoliday.StartSecond = value

Amount of seconds from 00:00:00 of the holiday day when holiday actually starts.

Methods

ClearDescription
public void ClearDescription()
protoOAHoliday.ClearDescription()

Clears the value of the "description" field

ClearEndSecond
public void ClearEndSecond()
protoOAHoliday.ClearEndSecond()

Clears the value of the "endSecond" field

ClearHolidayDate
public void ClearHolidayDate()
protoOAHoliday.ClearHolidayDate()

Clears the value of the "holidayDate" field

ClearHolidayId
public void ClearHolidayId()
protoOAHoliday.ClearHolidayId()

Clears the value of the "holidayId" field

ClearIsRecurring
public void ClearIsRecurring()
protoOAHoliday.ClearIsRecurring()

Clears the value of the "isRecurring" field

ClearName
public void ClearName()
protoOAHoliday.ClearName()

Clears the value of the "name" field

ClearScheduleTimeZone
public void ClearScheduleTimeZone()
protoOAHoliday.ClearScheduleTimeZone()

Clears the value of the "scheduleTimeZone" field

ClearStartSecond
public void ClearStartSecond()
protoOAHoliday.ClearStartSecond()

Clears the value of the "startSecond" field

Fields

DescriptionFieldNumber
public const int DescriptionFieldNumber
value = ProtoOAHoliday.DescriptionFieldNumber

Field number for the "description" field.

EndSecondFieldNumber
public const int EndSecondFieldNumber
value = ProtoOAHoliday.EndSecondFieldNumber

Field number for the "endSecond" field.

HolidayDateFieldNumber
public const int HolidayDateFieldNumber
value = ProtoOAHoliday.HolidayDateFieldNumber

Field number for the "holidayDate" field.

HolidayIdFieldNumber
public const int HolidayIdFieldNumber
value = ProtoOAHoliday.HolidayIdFieldNumber

Field number for the "holidayId" field.

IsRecurringFieldNumber
public const int IsRecurringFieldNumber
value = ProtoOAHoliday.IsRecurringFieldNumber

Field number for the "isRecurring" field.

NameFieldNumber
public const int NameFieldNumber
value = ProtoOAHoliday.NameFieldNumber

Field number for the "name" field.

ScheduleTimeZoneFieldNumber
public const int ScheduleTimeZoneFieldNumber
value = ProtoOAHoliday.ScheduleTimeZoneFieldNumber

Field number for the "scheduleTimeZone" field.

StartSecondFieldNumber
public const int StartSecondFieldNumber
value = ProtoOAHoliday.StartSecondFieldNumber

Field number for the "startSecond" field.