Skip to content

Symbol Info

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

Retrieves detailed information on the requested symbol.

FieldDescription
ExchangeThe Prodigy Exchange to connect to.
MarketThe code of the hosted market.
SymbolThe code of the listed symbol.
OptionDescription
-AllRetrieves all information, including the current cached state. Default.
-CurrentRetrieves the current live state direct from the Worker, loading the symbol if necessary. Prefer using -All.
-JsonReturns raw JSON state, rather than attempting to format it.
-StaticRetrieves only the static symbol information.
Exit CodeDescription
0Request successful. Outputs the requested data
-1General failure
Retrieve Symbol Info
Paritech.Prodigy.Control Symbol Info XOSP XSX XS01 -Json > Output.json
Output.json (Formatted)
{
"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"
}
}
}

Utilises the Retrieve Symbol and Retrieve Current Symbol REST APIs.