Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by vivien.konrad · Apr 28, 2020 at 05:55 PM · timeseriesmatlabeikon.net sdk librariesfrom

Error using From method when trying to load time series from Eikon .Net SDK in Matlab

Hi,

I am trying to load time series from Eikon.Net with MATLAB. I followed the instructions in the article

https://developers.refinitiv.com/article/using-eikon-net-sdk-matlab

I am able to load the last intervals like in the example successfully. However, when I'm trying to replace

timeSeriesRequestSetup.WithNumberOfPoints(10) in the SendTimeSeriesRequest function with timeSeriesRequestSetup.From, I get the following error:

No method 'From' with matching signature found for class 'ThomsonReuters.Desktop.SDK.DataAccess.TimeSeries.Impl.DataRequestSetup'.

Could you please provide and example for a time series request with specified start and end dates?

Many thanks.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov. · May 04, 2020 at 11:57 PM

@vivien.konrad

"From" and "To" methods of ITimeSeriesDataRequestSetup interface expect .NET System.DateTime type as argument.

You should be able to use

timeSeriesRequestSetup.To(System.DateTime.Now);

For more info on how to use .NET System.DateTime in Matlab see

https://www.mathworks.com/help/matlab/matlab_external/access-a-simple-net-class.html

Comment
vivien.konrad

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by chavalit.jintamalit · Apr 29, 2020 at 03:20 AM

Hi @vivien.konrad

This is my sample code:


ahs.jpg (148.2 KiB)
Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
vivien.konrad · Apr 29, 2020 at 08:29 AM 0
Share

Thank you very much. Would you have MATLAB example as well please as it seems the input to the property is causing the issue?

My sample code which is generating the error:

1588149046707.png (15.7 KiB)

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Requesting TR time series data for listed and delisted rics.

eikon python data api timeseries

Eikon Scripting API: issues with timeseries

How to obtain historical Reuters poll for an economic indicator using Eikon Python API?

I would like to have the GDP growth Y/Y expectation for the year end for several countries

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges