How can i get RHistory data fro from Com APIs for use in custom applications?
i've tried to use
_rAdxRtHistoryMgr = (AdxRtHistory)MyEikonDesktopDataAPI.CreateAdxRtHistory();
_rAdxRtHistoryMgr.FlushData();
_rAdxRtHistoryMgr.Source = "IDN";
_rAdxRtHistoryMgr.ItemName = "AAPL.OQ";
_rAdxRtHistoryMgr.ErrorMode = AdxErrorMode.EXCEPTION;
_rAdxRtHistoryMgr.Mode = "START:15-07-2020" +
" END:20-07-2020" +
" SORT:DES" +
" ZERO:SKIP" +
" NULL:SKIP" +
" FRQ:D";
_rAdxRtHistoryMgr.RequestHistory(".Timestamp;TRDPRC_1");
But it was returning - access denied.
I've tried to work whith
RHistoryAPI.IRHistoryQuery and RHistoryAPI.RHistoryManagerClass.
Could not get com object
_rHistoryMgr = MyEikonDesktopDataAPI.CreateInstanceFromClassID(new Guid("FF15C552-150F-4EF0-A17C-AA0B6AD095FC"));