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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 2

Fields Description

Hi team,

We are now trying to get L2 market data via API SDK.

Getting quote-time, we received those fields in response. Kindly provide descriptions for those following fields:

TRDPRC_1, TRDPRC_2, TRDPRC_3, TRDPRC_4, TRDPRC_5

VALUE_TS1, ..., VALUE_TS5

VALUE_DT1, ..., VALUE_DT5

May you help to explain what is the difference for each fields (field 1 to field 5 for each type)?

Thanks & Regards,

Vuong


#productapi#contentwebsocketsfields
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.

1 Answer

· Write an Answer
Upvotes
Accepted
77.5k 242 52 72

Thanks for reaching out to us.

These are ripple fields.

!
!ACRONYM    DDE ACRONYM          FID  RIPPLES TO  FIELD TYPE     LENGTH  RWF TYPE   RWF LEN
!-------    -----------          ---  ----------  ----------     ------  --------   -------
!
TRDPRC_1   "LAST"                   6  TRDPRC_2    PRICE              17  REAL64           7
!
! Last trade price or value.
!
TRDPRC_2   "LAST 1"                 7  TRDPRC_3    PRICE              17  REAL64           7
TRDPRC_3   "LAST 2"                 8  TRDPRC_4    PRICE              17  REAL64           7
TRDPRC_4   "LAST 3"                 9  TRDPRC_5    PRICE              17  REAL64           7
TRDPRC_5   "LAST 4"                10  NULL        PRICE              17  REAL64           7

The Ripple functionality normally applies to fields like TRDPRC - where the fields TRDPRC_1 to TRDPRC_5 represent the last 5 most recent trade prices. As new trades occurs, the previous 4 trade prices get rippled down.

You can also refer to the Data Model Discovery tool to get definitions of fields.

1669275950925.png

Please feel free to reach out if you have any further questions.


1669275950925.png (83.9 KiB)
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.

Noted on that. Thanks for your support.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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