Skip to main content

PyRFA

version pyversion version platform license downloads

PyRFA is a Python API for accessing Refinitiv (Thomson Reuters) market data feeds known as Elektron, Thomson Reuter Enterprise Platform for Real-time (TREP-RT) or legacy RMDS. It supports subscription and publication of market data using OMM data message model.

application

Features

  • Subscription for MARKET_PRICE (level 1)
  • Subscription for MARKET_BY_ORDER (order book)
  • Subscription for MARKET_BY_PRICE (market depth)
  • Snapshot/streaming request
  • Multiple service subscription
  • Pause and resume subscription
  • OMM Posting
  • View
  • Dictionary download or use local files
  • Directory request
  • Symbol list request
  • Time-series request and decoder for IDN TS1
  • Custom domain MMT_HISTORY which can be used for intraday timeseries publishing
  • Non-interactive provider (full-cached) for MARKET_PRICE, MARKET_BY_ORDER, MARKET_BY_PRICE, SYMBOLLIST, HISTORY domains
  • Interactive provider for MARKET_PRICE domain
  • Debug mode
  • Logging
  • Low-latency mode
  • Subscription outbound NIC binding

Installation

PyRFA supports both Windows and Linux platforms. Simply install from PyPI using pip:

> pip install pyrfa

Windows users might need to install Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) or (x86).

Platform Availability

Windows

Version Release Date 64bit-Windows, Python 3.7 64bit-Windows, Python 3.6 64bit-Windows, Python 3.5 64bit-Windows, Python 3.4 64bit-Windows, Python 2.7 64bit-Windows, Python 2.6 32bit-Windows, Python 2.7 32bit-Windows, Python 2.6
8.5.3 9 Nov 18 ⚬ ⚬ ⚬ ⚬ ⚬ ⚬
7.7.0 17 Mar 17 ⚬ ⚬

Linux

Version Release Date 64bit-Linux, Python 3.7 64bit-Linux, Python 3.6 64bit-Linux, Python 3.5 64bit-Linux, Python 3.4 64bit-Linux/RHEL7, Python 2.7 64bit-Linux/RHEL6, Python 2.6
8.5.3 9 Nov 18 ⚬ ⚬ ⚬ ⚬ ⚬ ⚬

Example

import pyrfa
p = pyrfa.Pyrfa()
p.createConfigDb("./pyrfa.cfg")
p.acquireSession("Session1")
p.createOMMConsumer()
p.login()
p.directoryRequest()
p.dictionaryRequest()
p.marketPriceRequest("JPY=,EUR=")
end = False
while not end:
    try:
        for data in p.dispatchEventQueue(10):
            print(data)
    except KeyboardInterrupt:
        end = True

Output:

...
{'MTYPE': 'UPDATE', 'RIC': 'JPY=', 'SERVICE': 'IDN_RDF_SDS', 'IRGPRC': 0.24}
{'MTYPE': 'UPDATE', 'ASIA_NETCH': 0.7, 'SERVICE': 'IDN_RDF_SDS', 'RIC': 'JPY='}
{'MTYPE': 'UPDATE', 'BID_NET_CH': 0.26, 'RIC': 'JPY=', 'SERVICE': 'IDN_RDF_SDS'}
...

Support

Available support including API documentation, Replay Service guide, changelog, issue tracker:

Metadata

Release files for pyrfa 8.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pyrfa 8.5.3
File
pyrfa-8.5.3-cp37-none-win_amd64.whl CPython 3.7 none Windows x86-64 Details
pyrfa-8.5.3-cp37-none-manylinux1_x86_64.whl CPython 3.7 none Linux glibc 2.5+ x86-64 Details
pyrfa-8.5.3-cp36-none-win_amd64.whl CPython 3.6 none Windows x86-64 Details
pyrfa-8.5.3-cp36-none-manylinux1_x86_64.whl CPython 3.6 none Linux glibc 2.5+ x86-64 Details
pyrfa-8.5.3-cp35-none-win_amd64.whl CPython 3.5 none Windows x86-64 Details
pyrfa-8.5.3-cp35-none-manylinux1_x86_64.whl CPython 3.5 none Linux glibc 2.5+ x86-64 Details
pyrfa-8.5.3-cp34-none-win_amd64.whl CPython 3.4 none Windows x86-64 Details
pyrfa-8.5.3-cp34-none-manylinux1_x86_64.whl CPython 3.4 none Linux glibc 2.5+ x86-64 Details
pyrfa-8.5.3-cp27-none-win_amd64.whl CPython 2.7 none Windows x86-64 Details
pyrfa-8.5.3-cp27-none-manylinux1_x86_64.whl CPython 2.7 none Linux glibc 2.5+ x86-64 Details
pyrfa-8.5.3-cp26-none-win_amd64.whl CPython 2.6 none Windows x86-64 Details
pyrfa-8.5.3-cp26-none-manylinux1_x86_64.whl CPython 2.6 none Linux glibc 2.5+ x86-64 Details

Total release size: 34.7 MB

Release files / pyrfa-8.5.3-cp37-none-win_amd64.whl

Download URL pyrfa-8.5.3-cp37-none-win_amd64.whl
Size 2.1 MB
Tags CPython 3.7 Windows x86-64
SHA-256 checksum
How to use checksums
f148c1cbc2e0b47ca66b731a4154af8c901ed3209732c8704797348b70c80b88
BLAKE2b-256 checksum
How to use checksums
93778b1c6d3fc68c7fd36c8e2d91af7a2af63dc06f3aac779b08d86363f8919a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp37-none-manylinux1_x86_64.whl

Download URL pyrfa-8.5.3-cp37-none-manylinux1_x86_64.whl
Size 3.7 MB
Tags CPython 3.7 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
49198873d6a057c76c62f59d09104dfc93146084c41b73850211943dfd16cde2
BLAKE2b-256 checksum
How to use checksums
567b585866879ea7cdc83330c88142f17efff61a5819d8a4b2d9855398e8c2f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp36-none-win_amd64.whl

Download URL pyrfa-8.5.3-cp36-none-win_amd64.whl
Size 2.1 MB
Tags CPython 3.6 Windows x86-64
SHA-256 checksum
How to use checksums
af3731272c75f28919f735a72c31b11f290f6355a2bd98edb56bbe6a1edce2d1
BLAKE2b-256 checksum
How to use checksums
93bc59b140270c7260f7bd01e20ad142351e2d9e38c03406e54582b70107089a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp36-none-manylinux1_x86_64.whl

Download URL pyrfa-8.5.3-cp36-none-manylinux1_x86_64.whl
Size 3.7 MB
Tags CPython 3.6 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
2109d0b7f64cd76c7ad1b0e775dbfa4da7a3ac267379e4f637e0d5061dfd4f66
BLAKE2b-256 checksum
How to use checksums
a0dddc1d5abe450d4e3496574d37bb9f6e061fa2fb8d1f892b8b7e1c7197f5b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp35-none-win_amd64.whl

Download URL pyrfa-8.5.3-cp35-none-win_amd64.whl
Size 2.1 MB
Tags CPython 3.5 Windows x86-64
SHA-256 checksum
How to use checksums
40c58dbf3b1a0c9c9c3d7d12f5f5bc77848c93180823a8373cbeee6cca10a2fd
BLAKE2b-256 checksum
How to use checksums
d8e1aa7742d6f156f2699a50fb0cd6aac1eed8373198ca2b4c716a8dacca4dc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp35-none-manylinux1_x86_64.whl

Download URL pyrfa-8.5.3-cp35-none-manylinux1_x86_64.whl
Size 3.7 MB
Tags CPython 3.5 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
be1791e74dd6a89b9448f984bbf36effd2daca417bc79a6470b835bffac435a1
BLAKE2b-256 checksum
How to use checksums
3046e5dabcda733f41dc7c211f841c260cc9b537e9b959f135bd5f7234767808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp34-none-win_amd64.whl

Download URL pyrfa-8.5.3-cp34-none-win_amd64.whl
Size 2.1 MB
Tags CPython 3.4 Windows x86-64
SHA-256 checksum
How to use checksums
3f99dec9b9909e2de589cd27794d2b966ecfd81ca3d718edc7c85f05a87745b2
BLAKE2b-256 checksum
How to use checksums
9bf0fb49dd87b927723776e0df4ae1604ab50732f8d732d9c73ecb5f2b59cdf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp34-none-manylinux1_x86_64.whl

Download URL pyrfa-8.5.3-cp34-none-manylinux1_x86_64.whl
Size 3.7 MB
Tags CPython 3.4 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f6fb4b8e2758773b54b1607f85afcf4d9955a8c69ce534ba49d20d29f3216c39
BLAKE2b-256 checksum
How to use checksums
f23c5b3e447da0236e3d6a64c91ab394b65cceb11eaa4076818c529d92afc1a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp27-none-win_amd64.whl

Download URL pyrfa-8.5.3-cp27-none-win_amd64.whl
Size 2.1 MB
Tags CPython 2.7 Windows x86-64
SHA-256 checksum
How to use checksums
6cce0909df39861ef05995c6e966dd2859344d0a5ee1182fb177adf451712d6a
BLAKE2b-256 checksum
How to use checksums
2f85d99475c5d8fc2ab5a6efd30e0fe96fb429c1f3a4c9f1ccd0aaf19caefc5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp27-none-manylinux1_x86_64.whl

Download URL pyrfa-8.5.3-cp27-none-manylinux1_x86_64.whl
Size 3.7 MB
Tags CPython 2.7 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
090af9e86810d01a6cd98bcdd77906085c9eeaf90cdd1618d54962dd821e65a8
BLAKE2b-256 checksum
How to use checksums
87a5a839353bb90a6794b09bd2d8d0e13867b6edad3ac37daf6beb17c965c816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp26-none-win_amd64.whl

Download URL pyrfa-8.5.3-cp26-none-win_amd64.whl
Size 2.1 MB
Tags CPython 2.6 Windows x86-64
SHA-256 checksum
How to use checksums
e08865f531c6fd97cc902643212d4e9121fc97ac1f00d2532cd3068466b9bedd
BLAKE2b-256 checksum
How to use checksums
568362fc6686490f2da0acdf93d6a575a10237b048d50fdf8a403c7d19312348
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release files / pyrfa-8.5.3-cp26-none-manylinux1_x86_64.whl

Download URL pyrfa-8.5.3-cp26-none-manylinux1_x86_64.whl
Size 3.8 MB
Tags CPython 2.6 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
0656e5bb87dde7eabf0c92aa355081a68a4707975a9b665b88873c5f9cd54a3d
BLAKE2b-256 checksum
How to use checksums
edfd601a2a244aef15b991215c2036062ae2df0e88b44294a164a63b1d07fcaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.6

Release history Release notifications | RSS feed

This release

8.5.3 This release

12 release files

8.5.0

10 release files

8.4.0

10 release files

8.2.2

10 release files

8.2.1

10 release files

8.2.0

10 release files

8.1.0

10 release files

7.7.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page