For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
49.7k 124 44 62

Can I use WebSocket API to request specific fields? (from WebSocket API Webinar Nov 29)

Can I use WebSocket API to request specific fields?

treprdp-apiwebsocketsrrto
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
15.8k 28 8 12

Yes, the Elektron WebSocket API and ADS support Vieew feature which allow the application requests specific field ids (FIDs) or Field Name for the level 1 data such as the Market Price domain. Once the view request message has been sent, the application will receive only specified fields data from ADS.

Please note that the SNAP_AND_DYNAMIC_VIEW license is required to be deployed in the ADS server.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
361 1 4 3

Also want to note that the documentation and examples show how to do this -- see the Advanced:View section in the documentation. Each of the languages in the examples package includes an example that sends a Batch/View request.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.