I am looking for a way to get the prices of a instrument adjusted and unadjusted,
I am looking how to do this with a field or parameter is possible because i am doing this in C#.
I tried this in python in the code book, but i cannot seem to get it correct
import refinitiv.data as rd rd.open_session() df = rd.get_data( ['4816.T'], [ 'TR.PriceClose', 'TR.PriceCloseDate' ], { 'SDate': '2024-03-29', 'EDate': '2024-02-25', 'Adjusted': 0 } ) display(df)
Here is my C# code
Frame<int, string> frame = privateEikon.GetData( securities, fields, new Dictionary<string, string> { { "SDate", startDate }, { "EDate", endDate }, { "Frq", "D" } } );
How can i do this? i need to get both the adjusted and unadjusted price.
If this is not possible then how can i get all stock splits on a given instrument?
I tried this and i only got one
import refinitiv.data as rd rd.open_session() df = rd.get_data( ['AAPL.O'], [ 'TR.AdjmtFactorAdjustmentDate', 'TR.AdjmtFactorAdjustmentFactor', 'TR.AdjmtFactorAdjustmentType', 'TR.AdjmtFactorIsApplied', 'TR.AdjmtFactorUnderlyingEventId' ] ) display(df)
And it only return the adjustment on 2020-08-31 when i am sure there was another on 2014-06-09