does it have ema java api to instead of the DfAddPeriod(USA,TODAY(),"1wd") method in Excel
Best Answer
-
Hello @denny.w.h.zhong,
The function DfAddPeriod is from Adfin analytics library and is not available through the Real time SDK (EMA). I am not aware of what this function does, but EMA can only provide the real time streaming or snapshot data for an instrument. For simple analytics, it might be possible for you to get all the ticks for an instrument and do your own calculations.
0
Answers
-
hi Gurprent,
the DfAddPeriod is used to retrieve calendar date for currency.
is it possible for you that provide ric and field's name to subscribed and return the calendar date for currency
0 -
hi Gurprent,
we are using DfAddPeriod like below in excel
0 -
Hi @denny.w.h.zhong,
is it possible for you that provide ric and field's name to subscribed and return the calendar date for currency
The EMA SDK can only provide the current (real time) trading date and time of the FX instrument. For example, here is an update I receive for CAD= which shows the quote date and time and time in milliseconds UTC when this event occurred.
"ACTIV_DATE":"2024-01-10",
"ACT_TP_1":"B\u21e7",
"ACT_TP_2":"B\u21e9",
"ACT_TP_3":"B\u21e9",
"ACVOL_1":35264,
"ASK":1.3379,
"BCKGRNDPAG":" ",
"BID":1.3378,
"BIDPCTCHNG":-0.08,
"BID_NET_CH":-0.0011,
"BID_TICK_1":"\u21e7",
"CTBTR_1":"ZUERCHER KB ",
"CTB_LOC1":"ZUR",
"CTB_PAGE1":" ",
"DLG_CODE1":"ZKBZ ",
"DSPLY_NAME":"ZUERCHER KB ZUR",
"EURO_BNC":-0.0006,
"MID_NET_CH":-0.0012,
"MID_PRICE":1.3379,
"NETCHNG_1":-0.0011,
"NUM_BIDS":35264,
"OFFCL_CODE":"ZKBZ ",
"PCTCHNG":-0.08,
"PRIMACT_1":1.3378,
"QUOTE_DATE":"2024-01-10",
"QUOTIM":"14:35:11",
"QUOTIM_MS":52511260,
"SEC_ACT_1":1.3379,
"TIMACT":"14:35:00",
"US_BNC":-0.0011,
"VALUE_DT1":"2024-01-10",
"VALUE_TS1":"14:35:11",
"VALUE_TS2":"14:35:10",
"VALUE_TS3":"14:35:09"0
Categories
- All Categories
- 6 AHS
- 38 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 中文论坛