question

Upvotes
Accepted
1 0 0 0

How can i get RHistory data fro from Com APIs for use in custom applications?

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"));
eikoneikon-com-apic#
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
39.2k 75 11 27

@yohane

RHistory COM library can only be used in Excel VBA, it cannot be used in custom .NET apps. AdxRtHistory COM object of AdfinX Real-Time Library has been deprecated.

To retrieve market data timeseries into a custom .NET application use the Timeseries interface of Eikon .NET APIs.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea