Skip to content

Pythonic interface and helpers for the Thomson Reuters Tick History API web service.

Notifications You must be signed in to change notification settings

brotchie/pytrth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note: This Python package is out of date. The crew at ContinuumIO have put a lot of effort into maintaining their own fork, I'd recommend using their version at https://github.com/ContinuumIO/pytrth.

pytrth provides a lite wrapper around the Thomson Reuters Tick History (TRTH) API. A command line tool is provided to assist extraction of options chains.

Thomson Reuters exposes a WSDL service at https://trth-api.thomsonreuters.com/TRTHApi-$VERSION/wsdl/TRTHApi.wsdl where $VERSION is the current API version. pytrth uses the suds package to access this service, wrapping API object in Pythonic object where appropriate. The TRTHApi class in src/api.py wraps this suds interface with an even higher level interface, greatly easing the creation of TRTH API calls.

Usage

TRTH credentials are read from ~/.trth which should be a YAML file containing the following:

credentials:
  username: *username*
  password: *password*

You can test your connection to TRTH by requesting the landing speed guide page:

pytrth getpage THOMSONREUTERS

About

Pythonic interface and helpers for the Thomson Reuters Tick History API web service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages