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
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 280 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛