Price index for stock

Is there a way to get the time series of the Price indices djusted for split ANDcash dividend?
Best Answer
Answers
-
Hi, thx. So what is the limit in term of number of stocks for get data? Is there some documentation on that? Here you say 300 stocks max but does that depends on the period for which you want the data or is it independant?
0 -
I have not come across the limitation on the number of stocks in get_data method.
However, you will not receive more than this:
- Datapoints returned per request - A datapoint is a 'cell', or a unique field value for a unique instrument on a unique time stamp. Datapoint limits vary by the content set being retrieved (for example, timeseries limits are different from news headline limits), but all are throttled on a per request basis and are not aggregated across all applications. Here are Datapoint limit examples per Eikon Data API function type
- get_data: The current limit value (10-Oct-2019) is around 10,000 data points.
- get_timeseries: The current limit value (10-Oct-2019) is 3,000 data points (rows) for interday intervals and 50,000 data points for intraday intervals. This limit applies to the whole request, whatever the number of requested instrument.
- get_news_headlines: The current limit value (10-Oct-2019) is 100 headlines per request. The depth of history is 15 month.
- get_news_story: The current limit value (10-Oct-2019) is 1 story per request.
- get_symbology: No enforced limit (10-Oct-2019).
Please refer to this document for more detail.
0 - Datapoints returned per request - A datapoint is a 'cell', or a unique field value for a unique instrument on a unique time stamp. Datapoint limits vary by the content set being retrieved (for example, timeseries limits are different from news headline limits), but all are throttled on a per request basis and are not aggregated across all applications. Here are Datapoint limit examples per Eikon Data API function type
-
Thank you for this. For time serise, i do have issue regarding the number of instrument. If i send a request with more than 300 instrument i get the following error:
rror: Error code 500 | Backend error. 500 Internal Server Error
Any way around this?
0 -
2. Split them into multiple lists (not more than 300)
0 -
I am trynig the corax field using get_data but the following does not work:
index_id = ['BABA.K]
data, err = ek.get_data(index_id,['TR.PriceClose(SDate="24-Sep-2018", EDate="29-Oct-2019").date,TR.PriceClose(SDate="24-Sep-2018", EDate="29-Oct-2019",corax="adjusted")'])
But it returns an error. How do incorporate the corax field in the fet_data fct?
0 -
@Tulkkas
Always start a new thread when you have a new question. Old threads that already have an accepted answer are not monitored by moderators. Any post on an old thread with accepted answer can be easily missed and not receive a response.
You have a whole bunch of syntax errors in your expression. Try this:ek.get_data('BABA.K',
['TR.PriceClose.date','TR.PriceClose'],
{'SDate':'24-Sep-2018', 'EDate':'29-Oct-2019'})And have a look at this tutorial.
0 -
Hi, i will post it in another thread next time.
Regarding my querry, i do not see any synthax errors expect the missing ' after BABA.K. Could you point out to me the errors?
I have seen alternatively those 2 syntaxes for the same purpose:
ek.get_data('BABA.K',['TR.PriceClose.date','TR.PriceClose'], {'SDate':'24-Sep-2018', 'EDate':'29-Oct-2019'})
data, err = ek.get_data('BABA.K',['TR.PriceClose(SDate="24-Sep-2018", EDate="29-Oct-2019").date,TR.PriceClose(SDate="24-Sep-2018", EDate="29-Oct-2019")'])
And you did not actually gave my any answer regarding my question about the field corax for adjusted for dividends. Thx
0 -
"corax" is not listed as a kwarg in get_data method signature, so here's your second syntax error. Apart from that, while it works in this instance, providing fields as a single comma separated string as opposed to a list of strings where each element represents a single field is not documented and therefore not guaranteed to work. Not to mention that such syntax also makes the code less readable.
If you're looking for price history adjusted for capital events, you don't need any additional parameters, as this is the default. If you're looking for unadjusted price history you can useek.get_data('BABA.K',
['TR.CLOSEPRICE.date',
'TR.CLOSEPRICE(Adjusted=0)'],
{'SDate':'24-Sep-2018',
'EDate':'29-Oct-2019'})or you can use get_timeseries method where "corax" is a valid kwarg.
0 -
thank you for the precison. It was not clear before as many answers from users and moderators acutally mixed but both syntax.
Whn you said adjusted, you mean for split, merger etc type of corporate actions but not for dividends right? Because this is usually a special adjuste type. Maybe also you have a specific time series for Total Return Price Index rather than applying adjusted on Price Index?
0 -
See this thread for discussion on how Refinitiv adjusts historical stock prices for capital changes. I don't think I understand the question in the last sentence. Perhaps the thread I referenced answers it too? If not, would you care to start a new thread and elaborate?
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.8K Refinitiv Data Platform
- 625 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 83 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛