Charting: request intraday data

The Charting blade can start caching particular charting data from a Reuters IDN feed every time it starts up. All data that is requested and received is cached. You can also configure the blade to cache other symbols as they are requested during the day.

cache-subject-forever

A symbol to start caching data for at start up. Cached data is written to the file specified by watchlist-filename (see here).

Syntax: cache-subject-forever <name>

Parameter Type Default Description

name

string

[no default]

Subject name to request (in double-quotes).

Example: cache-subject-forever "/I/MSFT.O"

cache-container

The name of a container (or Reuters chain) that will be requested on start up. All constituents of the container (or chain) will be cached. The Charting blade will listen to updates to the container (or chain) and modify the watchlist-filename (see here), accordingly.

Syntax: cache-container <name>

Parameter Type Default Description

name

string

[no default]

Container name to request (in double-quotes).

Example:

cache-container "/I/0#.FTSE"
cache-container "/I/FX="
cache-container "/I/0#.NDX"

cache-subject-temp

Temporarily add a symbol to the watchlist. The watchlist contains a record of requested symbols— writing it to memory periodically enables the Charting blade to resume caching objects on restart if the blade is disconnected. This configuration option is used by the blade to persist client requests.

Syntax: cache-subject-temp <symbol>

Default value: [no default]

watchlist-filename

Name of file to write watchlist to. This makes previously-requested symbols available on start up. You should also have an include-file directive to ensure that the file is read on start up.

Example watchlist file
# Caplin Transformer Intraday Symbol Configuration File
#
# Controls which symbols are placed upon the watchlist
# it can be automatically generated

cache-container   "/I/0#.FTSE"
cache-container   "/I/FX="
cache-container   "/I/0#.NDX"

Syntax: watchlist-filename <filename>

Default value: [no default]