question

Upvotes
Accepted
1 0 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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea