Symbol Info
Paritech.Prodigy.Control Symbol Info <Exchange> <Market> <Symbol>
Retrieves detailed information on the requested 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 |
---|---|
-All | Retrieves all information, including the current cached state. Default. |
-Current | Retrieves the current live state direct from the Worker, loading the symbol if necessary. Prefer using -All. |
-Json | Returns raw JSON state, rather than attempting to format it. |
-Static | Retrieves only the static symbol information. |
Output
Section titled “Output”Exit Code | Description |
---|---|
0 | Request successful. Outputs the requested data |
-1 | General failure |
Examples
Section titled “Examples”Paritech.Prodigy.Control Symbol Info XOSP XSX XS01 -Json > Output.json
{ "Code": "XS01", "Comments": null, "Config": { "Class": "EXXXXX", "Currency": "AUD", "ID": 3, "Name": "Default Security XS01" }, "State": { "Code": "XS01", "ID": 3, "Market": { "Code": "XSX", "Config": { "TimeZone": "Australia/Sydney" }, "SequenceNumber": 1, "State": { "Actions": [ "Place", "Amend", "Cancel", "Match" ], "Status": "Open" } }, "Rollup": {}, "SequenceNumber": 1, "State": {}, "Symbol": { "Class": "EXXXXX", "Currency": "AUD", "ID": 3, "Name": "Default Security XS01" } }}
More Information
Section titled “More Information”Utilises the Retrieve Symbol and Retrieve Current Symbol REST APIs.