Symbol Chart
Paritech.Prodigy.Control Symbol Chart <Exchange> <Market> <Symbol>
Retrieves historical charting data for a symbol.
Arguments
Section titled “Arguments”Field | Description |
---|---|
Exchange | The Prodigy Exchange to connect to. |
Market | The code of the hosted market. |
Symbol | The code of the listed symbol. |
Available Options
Section titled “Available Options”Option | Description |
---|---|
-Asc | Results in ascending order. |
-Auto | Results 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. |
-Desc | Results 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. |
-Full | Output symbol as CODE.MARKET. By default only outputs CODE. |
-NewLine <NewLine> | NewLine format. One of CR, LF, CRLF. Defaults to platform specific. |
-NoHeader | The 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. |
-Stdout | Write to STDOUT. Default. |
-To <Date> | The ending date range. |
-TZ <TimeZone> | The timezone to use when defining a day. Defaults to UTC. |
Periods
Section titled “Periods”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.
Output
Section titled “Output”Exit Code | Description |
---|---|
0 | Request successful. If -Stdout is specified, writes the requested data out. |
-1 | General failure |
Examples
Section titled “Examples”Paritech.Prodigy.Control Symbol Chart XOSP XSX TEST1 -From 20240101 -To 20240105 -Period 1.00:00:00 > Chart.csv
Symbol,Date,Open,High,Low,Close,VolumeTEST1,20240102,1.5,2.0,1.4,1.8,2100TEST1,20240103,1.8,1.95,1.7,1.9,3200TEST1,20240104,1.95,2.15,1.95,2.05,4300
More Information
Section titled “More Information”Utilises the Chart History consumer REST API.