question

Upvotes
Accepted
1 1 3 4

TRTHApiService.jar in Matlab Datafeed Toolbox

Can anyone provide me with the necessary archive to access Tick History via the Datafeed Toolbox in Matlab?

I get the following error message, and the TRTHApiService.jar cannot be found anywhere on my computer even though I verified that the Datafeed Toolbox is installed.

Best,

Johannes

>> r = rdth('datauser@company.eu','PWRD')

Error using rdth (line 57)
Please verify that TRTHApiService.jar is on MATLAB javaclasspath.

>> ver
-------------------------------------------------------------------------------------------------------
MATLAB Version: 8.0.0.783 (R2012b)
MATLAB License Number: 12345678
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------------------------
MATLAB Version 8.0 (R2012b)
Control System Toolbox Version 9.4 (R2012b)
Curve Fitting Toolbox Version 3.3 (R2012b)
Database Toolbox Version 4.0 (R2012b)
Datafeed Toolbox Version 4.4 (R2012b)
Econometrics Toolbox Version 2.2 (R2012b)
Financial Instruments Toolbox Version 1.0 (R2012b)
Financial Toolbox Version 5.0 (R2012b)
MATLAB Builder EX Version 2.3 (R2012b)
MATLAB Compiler Version 4.18 (R2012b)
Neural Network Toolbox Version 8.0 (R2012b)
Optimization Toolbox Version 6.2.1 (R2012b)
Parallel Computing Toolbox Version 6.1 (R2012b)
Signal Processing Toolbox Version 6.18 (R2012b)
Spreadsheet Link EX Version 3.1.6 (R2012b)
Statistics Toolbox Version 8.1 (R2012b)
Symbolic Math Toolbox Version 5.9 (R2012b)
System Identification Toolbox Version 8.1 (R2012b)
>>

tick-history-rest-apimatlab
icon clock
10 |1500

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

@hauptbahnhof

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks, AHS

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

TRTHApiService.jar looks like to be a jar file which is created from the TRTHApi.wsdl file (https://trth-api.thomsonreuters.com/TRTHApi-5.8/wsdl/TRTHApi.wsdl).

There are several ways to do it, such using wsimport in JDK or Apache Axis Web Service tools. Therefore, it depends on how the application was implemented.

For example:

wsimport https://trth-api.thomsonreuters.com/TRTHApi-5.8/wsdl/TRTHApi.wsdl -clientjar TRTHApiService.jar
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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