Proper start date for stock split queries in C#
I asked a question here which was partially answered:
It appears that the start date must be some time in the past, but we're not exactly sure how far back we must go or why.
Can you please investigate your server side code and explain what they starting date must be and why.
Thank you.
Best Answer
-
@jiah So again let me try in Python first - so for this event the announcement date falls in between the SDate/EDate parameters.
events_df = rd.get_data('IVOG.K',['TR.TickerSymbol','TR.AdjmtFactorAdjustmentDate','TR.AdjmtFactorAdjustmentFactor','TR.AdjmtFactorIsApplied','TR.CACorpActEventType','TR.CACorpActEventType.coraxcaanndate'],{'SDate':'2023-02-01', 'EDate':'2024-12-31'})
events_dfHowever - if I try this:
events_df = rd.get_data('IVOG.K',['TR.TickerSymbol','TR.AdjmtFactorAdjustmentDate','TR.AdjmtFactorAdjustmentFactor','TR.AdjmtFactorIsApplied','TR.CACorpActEventType','TR.CACorpActEventType.coraxcaanndate'],{'SDate':'2023-03-14', 'EDate':'2024-12-31'})
events_dfHere I get the event but I don't get the Corporate Change Event Type or the coraxcaanndate. Is this sort of what you mean?
0
Answers
-
Yes, great example. Just by changing the start date, various fields go empty. I'm trying to find why that is (perhaps a bug?), and what the proper start date should be.
I think the value will be missing even if you back off the date by 5 or 10 days.
0 -
Following back up on this. Can you tell me how many days I need to go back to properly get the events information? Thanks.
0 -
Each event (TR.CACorpActEventType) has an announcement date (TR.CACorpActEventType.coraxcaanndate).
For example, if you would like to get an event that was announced on 23 Feb 2023, the SDate must be before 23 Feb 2023 and the EDate must be after 23 Feb 2023. For example, SDate is 01 Feb 2023 and EDate is 01 Mar 2023. Then you will get events announced between 01 Feb 2023 and 01 Mar 2023.
0 -
Ok, so it's measured off of the announcement date. You can close this ticket now. Thank you.
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 中文论坛