Symbol List
Paritech.Prodigy.Control Symbol List <Exchange> <Market>
Retrieves the symbols listed on a hosted market.
Arguments
Section titled “Arguments”Field | Description |
---|---|
Exchange | The Prodigy Exchange to connect to. |
Market | The code of the hosted market. |
Available Options
Section titled “Available Options”Option | Description |
---|---|
-JSON | Outputs the full JSON. Default is to output CSV. |
-Cols <Columns> | A comma-separated list of column names. Defaults to c,o,m,e,t,cfg,s. |
-Enc <Encoding> | Output encoding. One of ASCII, UTF8 (default). |
-File <FileName> | Write CSV to the given file. |
-Format <Format> | Output data format. One of CSV (default), TSV. |
-NewLine <NewLine> | NewLine format. One of CR, LF, CRLF. Defaults to platform specific. |
-NoHeader | The output data does not contain a header line. |
-Stdout | Write to STDOUT. Default. |
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 List XOSP XSX -Json > Output.json
{"Code":"XS01","Config":{"ID":3,"Name":"Default Security XS01","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS02","Config":{"ID":2,"Name":"Default Security XS02","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS03","Config":{"ID":5,"Name":"Default Security XS03","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS04","Config":{"ID":4,"Name":"Default Security XS04","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS05","Config":{"ID":6,"Name":"Default Security XS05","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS06","Config":{"ID":7,"Name":"Default Security XS06","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS07","Config":{"ID":9,"Name":"Default Security XS07","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS08","Config":{"ID":8,"Name":"Default Security XS08","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS09","Config":{"ID":11,"Name":"Default Security XS09","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}{"Code":"XS10","Config":{"ID":10,"Name":"Default Security XS10","Class":"EXXXXX","Currency":"AUD"},"State":null,"Comments":null}
More Information
Section titled “More Information”Utilises the Retrieve Symbols REST API.