Prodigy Symbol Control REST API - Market Controller
The market/<market>/symbol/<code>/rename
URL provides access to renaming symbols.
Permission: Symbol
Rename Symbol Code
Section titled “Rename Symbol Code”POST market/<market>/symbol/<code>/rename
Updates a symbol to use a new code.
URL Parameters
Section titled “URL Parameters”Parameter | Description |
---|---|
market | A URL-encoded Market Code. |
code | A URL-encoded Symbol Code. |
Query Parameters
Section titled “Query Parameters”Parameter | Expected | Description |
---|---|---|
newCode | Required | The new code of the Symbol. Must not already exist. |
POST Body
Section titled “POST Body”A single MarketBody object.
Response
Section titled “Response”Code | Status | Description |
---|---|---|
200 | Success | Content is a single string communicating the result of the operation (typically: Renamed ). |
400 | Failure | Invalid or incomplete request. |
404 | Failure | The Market or Symbol does not exist. |
422 | Failure | Invalid data was provided. Content is a JSON array of one or more error codes describing the problem. |