Skip to content

Prodigy Market Control REST API - Symbol Controller

The market/<market>/symbol/<code> URL provides management of an individual symbol listed on a Market.

Permission: Symbol

GET market/<market>/symbol/<code>

Retrieves the configuration and market state of the symbol.

ParameterDescription
marketA URL-encoded Market Code.
codeA URL-encoded Symbol Code.
ParameterExpectedDescription
withStateOptionalTrue to include the symbol state from the cache. If omitted, defaults to False.
CodeStatusDescription
200SuccessContent is a single SymbolInfo object.
404FailureThe Market or Symbol does not exist.

POST market/<market>/symbol/<code>

Lists a new Symbol on the Market.

ParameterDescription
marketA URL-encoded Market Code.
codeA URL-encoded Symbol Code.

A single MarketBody object.

CodeStatusDescription
201SuccessOperation completed successfully. Location is the newly updated symbol.
400FailureInvalid or incomplete request.
404FailureThe Market does not exist.
409FailureThe Market already exists.
422FailureInvalid data was provided.
Content is a JSON array of one or more error codes describing the problem.

PUT market/<market>/symbol/<code>

Updates the configuration of the Symbol.

ParameterDescription
marketA URL-encoded Market Code.
codeA URL-encoded Symbol Code.

A single MarketBody object.

CodeStatusDescription
201SuccessOperation completed successfully. Location is the newly updated symbol.
400FailureInvalid or incomplete request.
404FailureThe Market or Symbol does not exist.
422FailureInvalid data was provided.
Content is a JSON array of one or more error codes describing the problem.

DELETE market/<market>/symbol/<code>

Unlists the Symbol from the Market.

ParameterDescription
marketA URL-encoded Market Code.
codeA URL-encoded Symbol Code.
CodeStatusDescription
200SuccessContent is a single string communicating the result of the operation (typically: Removed).
404FailureThe Market or Symbol does not exist.
422FailureInvalid data was provided.
Content is a JSON array of one or more error codes describing the problem.