Manage Intraday Opening Hours Information
The Charting blade obtains information regarding opening hours and timezones from the IDN feed. This information can be rerequested regularly, and opening hours for specific objects and exchanges can be defined.
A note on time format
Trading hours information can take various forms:
DD-DD HHMM-HHMM
or
DD HHMM-HHMM DD HHMM-HHMM …
Example:
MO-FR 0800-1630
This is the same as:
MO 0800-1630 TU 0800-1630 WE 0800-1630 ...
You can also define partial sessions during the day in the form:
DD HHMM-HHMM,HHMM-HHMM…
For example:
MO 0930-1200,1330-1600
Options
info-page
The name of the symbol carrying information to request at start up.
Default value: [no default]
info-rerequest-time
Minutes after midnight local time at which to rerequest trading time information. This is used in conjunction with info-rerequest-days
to make sure the trading time data is up to date.
Default value: [no default]
info-rerequest-days
Day at which to rerequest trading time information. This is used in conjunction with info-rerequest-time to make sure the trading time data is up to date.
Default value: [no default]
timeinfo-filename
Filename to write trading time information to. The Charting blade can write out the trading time information to memory when it shuts down—this ensures the blade does not have to wait for the relevant information to be sent from the data source every time it starts up.
Default value: [no default]
timeinfo-shutdown-write
Boolean determining whether trading time information should be written to file on shutdown.
Default value: FALSE
times-hashsize
Number of entries in the hashtable which holds trading times.
Default value: 1024
add-exchtime
Defines the opening time information for a specific exchange.
The entry must use the following format:
add-exchtime id timezone name suffix hours
The options in this entry are:
Parameter | Type | Default | Description |
---|---|---|---|
id |
string |
[no default] |
Exchange identifier |
timezone |
string |
[no default] |
Time zone of the exchange. Time zones are defined using add-timezone (see here). |
name |
string |
[no default] |
Exchange full name |
suffix |
string |
[no default] |
Exchange suffix (eg .L, .O) |
hours |
[see this note] |
[no default] |
Exchange opening hours |
add-rictime
Defines the opening time information for a specific symbol. The entry must use the following format:
add-rictime name timezone hours
The options in this entry are:
Parameter | Type | Default | Description |
---|---|---|---|
name |
string |
[no default] |
Symbol. |
timezone |
string |
[no default] |
Time zone of the symbol’s exchange. Time zones are defined using add-timezone (see here). |
hours |
[see this note] |
[no default] |
Symbol’s exchange opening hours |
add-roottime
Defines the opening time information for an exchange’s symbol root. The entry must use the following format:
add-roottime root timezone hours
The options in this entry are:
Parameter | Type | Default | Description |
---|---|---|---|
root |
string |
[no default] |
Root name (see also root-hashlen below). |
timezone |
string |
[no default] |
Time zone of the exchange. Time zones are defined using add-timezone (see here). |
hours |
[see this note] |
[no default] |
Exchange opening hours. |
root-hashlen
Number of characters to truncate root symbols to.
Default value: 2
add-timezone
Identifies a time zone.
The entry must use the following format:
add-timezone name fullname offset summer start end
The options in this entry are:
Parameter | Type | Default | Description |
---|---|---|---|
name |
string |
[no default] |
Timezone name |
fullname |
string |
[no default] |
Timezone full name |
offset |
[+][-]HH:MM |
[no default] |
Offset from GMT. |
summer |
[+][-]HH:MM |
[no default] |
Additional offset during summertime. If no summertime offset required, then the summer, start and end options may be omitted. |
start |
DDmmmYY HH:MM |
[no default] |
Summertime start (i.g. "29MAR03 00.00"). |
end |
DDmmmYY HH:MM |
[no default] |
Summertime end. |