Max length of RSSL string payload
Is there a max length for the payload of an ASCII_STRING / RMTES_STRING field?
All I can see documentation-wise is the table "5.5.2.4 FIELD TYPE Keywords" in the "RDM Usage Guide" but I'm reading that as how to convert MarketFeed types to RWF?
I'm inferring (/hoping) from reading the SDK code that string length is only limited by the UInt32 length member of RwfBuffer and EmaString?
Also, is there any max cachable length for these types in the ADH?
Best Answer
-
I tested with ADS and found that its cache can contain a long string (400 bytes). However, it is better to contact the RTDS support team directly via MyRefinitiv to confirm it.
Yes, you can specify custom fields for your own data. The field IDs of custom fields must be negative values. Please check the Publish Custom Data via Refinitiv Real-Time Distribution System by EMA article regarding the FID Number Policy. However, you need to make sure that the providers, RTDS, and consumers load and use this dictionary.
Otherwise, you can use existing fields. For example:
SEG_TEXT "TEXT" 258 NULL ALPHANUMERIC 255 RMTES_STRING 255
SEG_TEXT_2 "SEG TEXT 2" 1059 NULL ALPHANUMERIC 255 RMTES_STRING 255
SEG_TEXT_3 "SEG TEXT 3" 1060 NULL ALPHANUMERIC 255 RMTES_STRING 255
INSTFUNAM1 "INSTR FULL NAME 1" 15433 NULL ALPHANUMERIC 350 RMTES_STRING 350
INSTFUNAM2 "INSTR FULL NAME 2" 15434 NULL ALPHANUMERIC 350 RMTES_STRING 350
KEYWORD "KEYWORD" 30019 NULL ALPHANUMERIC 510 RMTES_STRING 510
ADMIN_MSG "ADMIN MSG" 32423 NULL ALPHANUMERIC 500 RMTES_STRING 5001
Answers
-
Thank you for reaching out to us.
Technically, the content of each field entry has a maximum encoded length of 65,535 bytes.
However, the application should follow the length defined in the data dictionary (RDMFieldDictionary).
For example:
!
!ACRONYM DDE ACRONYM FID RIPPLES TO FIELD TYPE LENGTH RWF TYPE RWF LEN
!------- ----------- --- ---------- ---------- ------ -------- -------
DSPLY_NAME "DISPLAY NAME" 3 NULL ALPHANUMERIC 16 RMTES_STRING 16The RWF LEN (RWF maximum field length (for caching)) of the DSPLY_NAME field is 16 bytes so the length of content in the DSPLY_NAME field shouldn't exceed 16 bytes.
0 -
Thanks @Jirapongse.
I should have specified that I'm using a custom dictionary. I'm wanting to populate one FID with a fairly long string (some base64 encoded data). If I know that this string will never exceed, say, 400 bytes, Am I safe to define the field in the dictionary like this (and have the full value cached in the ADH):
!ACRONYM DDE ACRONYM FID RIPPLES TO FIELD TYPE LENGTH RWF TYPE RWF LEN
!------- ----------- --- ---------- ---------- ------ -------- -------
SOME_DATA "" 42 NULL NONE 0 RMTES_STRING 4000 -
@Jirapongse that's great. Thanks for your help0
-
The maximum length of an RSS (Rich Site Summary) or XML string payload can vary depending on the specific implementation and constraints of the system processing it. Charter Spectrum internet Typically, there's no strict maximum length defined for RSS strings, but it's good practice to keep payloads concise to ensure efficient processing and compatibility across different platforms and devices.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛