Skip to content

Symbol Chart

Paritech.Prodigy.Control Symbol Chart <Exchange> <Market> <Symbol>

Retrieves historical charting data for a symbol.

FieldDescription
ExchangeThe Prodigy Exchange to connect to.
MarketThe code of the hosted market.
SymbolThe code of the listed symbol.
OptionDescription
-AscResults in ascending order.
-AutoResults are sorted automatically based on the selected date ranges.
-Cols <Columns>A comma-separated list of column names. Defaults to s,d,o,h,l,c,v.
-Count <Count>The maximum results to return. If omitted, returns all available.
-DescResults in descending order.
-Enc <Encoding>Output encoding. One of ASCII, UTF8 (default).
-File <FileName>Write to the given file.
-Format <Format>Output data format. One of CSV (default), TSV.
-From <Date>The starting date range.
-FullOutput symbol as CODE.MARKET. By default only outputs CODE.
-NewLine <NewLine>NewLine format. One of CR, LF, CRLF. Defaults to platform specific.
-NoHeaderThe output data does not contain a header line.
-Period <Time>The period each record represents.
Should be a time of the format d.hh:mm. Defaults to 1.00:00.
-StdoutWrite to STDOUT. Default.
-To <Date>The ending date range.
-TZ <TimeZone>The timezone to use when defining a day. Defaults to UTC.

Prodigy supports a flexible Period specifier.

  • 1 to 60 minutes: 00:01, 00:02, 00:03, 00:04, 00:05, 00:06, 00:10, 00:12, 00:15, 00:20, 00:30
  • 1 to 24 hours: 01:00, 02:00, 03:00, 04:00, 06:00, 08:00, 12:00
  • 1 day: 1.00:00
  • 1 to 52 weeks: 7.00:00, 14.00:00, … 364.00:00 (calculates using calendar weeks starting from Sunday)
  • 1 month: 30.00:00 (calculates using calendar months)
  • 1 quarter: 90.00:00 (calculates using calendar quarters)
  • 1 year: 365.00:00 (calculates using calendar years)

‘Fractional’ periods, such as 1.12:00 are not supported.

Exit CodeDescription
0Request successful. If -Stdout is specified, writes the requested data out.
-1General failure
List Symbol
Paritech.Prodigy.Control Symbol Chart XOSP XSX TEST1 -From 20240101 -To 20240105 -Period 1.00:00:00 > Chart.csv
Chart.csv
Symbol,Date,Open,High,Low,Close,Volume
TEST1,20240102,1.5,2.0,1.4,1.8,2100
TEST1,20240103,1.8,1.95,1.7,1.9,3200
TEST1,20240104,1.95,2.15,1.95,2.05,4300

Utilises the Chart History consumer REST API.