Python API for Refinitiv (Thomson Reuters) Enterprise Platform
Project description
PyRFA
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.
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_HISTORYwhich can be used for intraday timeseries publishing - Non-interactive provider (full-cached) for
MARKET_PRICE,MARKET_BY_ORDER,MARKET_BY_PRICE,SYMBOLLIST,HISTORYdomains - Interactive provider for
MARKET_PRICEdomain - 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:
- Community support - GitHub
- PyRFA Enterprise Support - access to private GitHub for Early Access releases, complete documentation and Replay Service
- Issue tracker
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrfa-8.5.3-cp37-none-win_amd64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp37-none-win_amd64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f148c1cbc2e0b47ca66b731a4154af8c901ed3209732c8704797348b70c80b88
|
|
| MD5 |
38819b143c35f2599eecd35a90fbdd25
|
|
| BLAKE2b-256 |
93778b1c6d3fc68c7fd36c8e2d91af7a2af63dc06f3aac779b08d86363f8919a
|
File details
Details for the file pyrfa-8.5.3-cp37-none-manylinux1_x86_64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp37-none-manylinux1_x86_64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.7
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49198873d6a057c76c62f59d09104dfc93146084c41b73850211943dfd16cde2
|
|
| MD5 |
98435d7a7868277d5f6c9106a71c611f
|
|
| BLAKE2b-256 |
567b585866879ea7cdc83330c88142f17efff61a5819d8a4b2d9855398e8c2f1
|
File details
Details for the file pyrfa-8.5.3-cp36-none-win_amd64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp36-none-win_amd64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.6, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af3731272c75f28919f735a72c31b11f290f6355a2bd98edb56bbe6a1edce2d1
|
|
| MD5 |
f0f9228a7926962ecb3d44e0b4c290e9
|
|
| BLAKE2b-256 |
93bc59b140270c7260f7bd01e20ad142351e2d9e38c03406e54582b70107089a
|
File details
Details for the file pyrfa-8.5.3-cp36-none-manylinux1_x86_64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp36-none-manylinux1_x86_64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.6
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2109d0b7f64cd76c7ad1b0e775dbfa4da7a3ac267379e4f637e0d5061dfd4f66
|
|
| MD5 |
ed8bf1c6a2edb2bff2cffc471b438af0
|
|
| BLAKE2b-256 |
a0dddc1d5abe450d4e3496574d37bb9f6e061fa2fb8d1f892b8b7e1c7197f5b4
|
File details
Details for the file pyrfa-8.5.3-cp35-none-win_amd64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp35-none-win_amd64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.5, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40c58dbf3b1a0c9c9c3d7d12f5f5bc77848c93180823a8373cbeee6cca10a2fd
|
|
| MD5 |
0736887e1f9f34fb746be1b05230bd42
|
|
| BLAKE2b-256 |
d8e1aa7742d6f156f2699a50fb0cd6aac1eed8373198ca2b4c716a8dacca4dc5
|
File details
Details for the file pyrfa-8.5.3-cp35-none-manylinux1_x86_64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp35-none-manylinux1_x86_64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.5
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be1791e74dd6a89b9448f984bbf36effd2daca417bc79a6470b835bffac435a1
|
|
| MD5 |
8b7ab5469684dd1bec36c927fe7cf2cc
|
|
| BLAKE2b-256 |
3046e5dabcda733f41dc7c211f841c260cc9b537e9b959f135bd5f7234767808
|
File details
Details for the file pyrfa-8.5.3-cp34-none-win_amd64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp34-none-win_amd64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.4, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f99dec9b9909e2de589cd27794d2b966ecfd81ca3d718edc7c85f05a87745b2
|
|
| MD5 |
2e771ddb7db829ee2ad3611d4868b6ad
|
|
| BLAKE2b-256 |
9bf0fb49dd87b927723776e0df4ae1604ab50732f8d732d9c73ecb5f2b59cdf5
|
File details
Details for the file pyrfa-8.5.3-cp34-none-manylinux1_x86_64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp34-none-manylinux1_x86_64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.4
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6fb4b8e2758773b54b1607f85afcf4d9955a8c69ce534ba49d20d29f3216c39
|
|
| MD5 |
3411f8d22f117d02c8285a7fb1620b6b
|
|
| BLAKE2b-256 |
f23c5b3e447da0236e3d6a64c91ab394b65cceb11eaa4076818c529d92afc1a4
|
File details
Details for the file pyrfa-8.5.3-cp27-none-win_amd64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp27-none-win_amd64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 2.7, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cce0909df39861ef05995c6e966dd2859344d0a5ee1182fb177adf451712d6a
|
|
| MD5 |
a10599a621c1bff42ed4e956c5eb9097
|
|
| BLAKE2b-256 |
2f85d99475c5d8fc2ab5a6efd30e0fe96fb429c1f3a4c9f1ccd0aaf19caefc5b
|
File details
Details for the file pyrfa-8.5.3-cp27-none-manylinux1_x86_64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp27-none-manylinux1_x86_64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 2.7
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
090af9e86810d01a6cd98bcdd77906085c9eeaf90cdd1618d54962dd821e65a8
|
|
| MD5 |
b346f36b30e86ba4e8e302ba66d92273
|
|
| BLAKE2b-256 |
87a5a839353bb90a6794b09bd2d8d0e13867b6edad3ac37daf6beb17c965c816
|
File details
Details for the file pyrfa-8.5.3-cp26-none-win_amd64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp26-none-win_amd64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 2.6, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e08865f531c6fd97cc902643212d4e9121fc97ac1f00d2532cd3068466b9bedd
|
|
| MD5 |
6024766fb8dbd4c68bbb9e987d6f822d
|
|
| BLAKE2b-256 |
568362fc6686490f2da0acdf93d6a575a10237b048d50fdf8a403c7d19312348
|
File details
Details for the file pyrfa-8.5.3-cp26-none-manylinux1_x86_64.whl.
File metadata
- Download URL: pyrfa-8.5.3-cp26-none-manylinux1_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 2.6
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0656e5bb87dde7eabf0c92aa355081a68a4707975a9b665b88873c5f9cd54a3d
|
|
| MD5 |
dd1914040d344a9e6c51b6363f8d1f38
|
|
| BLAKE2b-256 |
edfd601a2a244aef15b991215c2036062ae2df0e88b44294a164a63b1d07fcaf
|