Hi, I am currently using the following function to get the OHLC data for a timeseries:
request = timeSeries.SetupDataRequest(ric)
.WithView("NDA_RAW")
.WithAllFields()
.WithInterval(CommonInterval.Daily)
.WithAdjustedPrice(false)
.From(dt)
.OnDataReceived(DataReceivedCallback)
.CreateAndSend();
I now want to get the dividends and stock splits.
I can do that in excel:
=TR("AAPL.O","TR.DivUnadjustedNet;TR.DivUnadjustedGross","SDate=2010-01-01 EDate=2019-10-24 CH=Fd RH=IN;coraxdividenddate;paymenttype")
or
=TR("AAPL.O","TR.DivUnadjustedNet;TR.DivUnadjustedGross","SDate=2010-01-01 EDate=2019-10-24 CH=Fd RH=IN;coraxdividenddate;paymenttype")
How do I do the same in C#?
Thanks