Instrument List
General
This API provides snapshot and real-time updates for instruments details.
The response is sorted by symbol (case-insensitive)
Use Cases:
Retrieving All Instruments: When all instruments are required, the API should be used without pagination and without filters.
Retrieving a Specific Segment of Instruments: For scenarios where a specific segment of instruments is needed, the API should be used without pagination but with filters.
UI Applications: When the consumer needs to paginate through the instruments, the API should be used with pagination enabled—utilizing the
fromSymbol
request parameter.
instrumentList
This API does not include pagination and support filters on the request.
Upon successful subscription, a snapshot of all active instruments is sent. The last message of the snapshot contains lastMessage=Y
. Any changes to the instruments after the snapshot are sent as subsequent updates.
In cases where there are no instruments to return, the system will send an empty message.
Snapshot- will receive all instruments that meet the filters from the request (If no filter exists, only “Active” instruments will be sent)
Live updates-
You will receive live updates for the following:
All Instruments from the Snapshot: Continuous updates on all instruments included in the initial snapshot.
New Instruments Meeting Filter Criteria: Notifications for any new instruments that meet your specified filter criteria.
Updated Instruments Meeting Filter Criteria: Updates on instruments that were modified and now meet your requested filters.
Instruments No Longer Meeting Filter Criteria: If an instrument initially met the filters but no longer does due to an update, you will receive a notification for the first change. After this, no further updates will be sent for that instrument.
Status Change Notifications: When an instrument changes status from Active to Disabled/Archived, you will receive a notification of this change—unless the instrument now meets the specified filters.
Request
offset
limit
orderBy
Response
NOTE: All numbers are stringified
Error Codes
1
System is unavailable
100
Missing or invalid parameter: [FieldName]
102
Single category should be sent
102
Wrong Sub Category
102
Strategies category should be sent
Samples
instrumentListWithPagination
This API includes pagination and filters.
Snapshot- will receive all instruments that meet the filters from the request (If no filter exists, only “Active” instruments will be sent)
Live updates-
You will receive live updates for the following:
Snapshot Instruments Only: Updates will be sent exclusively for the instruments included in the initial snapshot.
No New Instruments: You will not receive updates for any new instruments created after you subscribed.
Status Change Alerts: If an instrument’s status changes from Active to Disabled, you will receive a notification. After this, no further updates will be sent for that instrument, even if it becomes active again.
Request
offset
is not includedAdditional parameter:
fromSymbol
String
Optional
From which symbol, start to send, exclusive.
For example:
We have instruments - “AA”, “BA”, “CB”, “CA”
Request: limit: 1, fromSymbol: “BA”
Response: “CB”
Response
totalCount
in Admin API called herecount
fromSymbol
is returned
Error Codes
Samples
Last updated