Currently showing posts tagged python

  • PyRFA 8.1.0 on PyPI

    Great news. Our PyRFA 8.1.0 and 7.7.0 (for 32bit support) are now available on PyPI and immediately supports Python 3.6  You are now able to install PyRFA using pip with:

    pip install pyrfa

    What's new in 8.1.0:

    • 17 March 2017
    • Supports Python3.6
    • Adds getClientSessions() for Interactive Provider
    • Adds getClientWatchList() for Interactive Provider
    • Automatically loads dictionaries from the installed package folder
    • Able to privately submitData to a specific session ID
    • Able to closeSubmit items for a specific session ID
    • Available from PyPI

    API guide is available on our GitHub page including example scripts.

  • Making Mac Terminal and Windows CMD Support Unicode Charset Display in Python 3

    According to Python 3 unicode character representation, It is possible for the user to confront with Python exception when Terminal is trying to display such unicode data from Pyrfa. Here is the error:

    UnicodeEncodeError: 'ascii' codec can't encode character '\u21e7' in position 1: ordinal not in range(128)

    In this case the '\u21e7' is a unicode for an arrow character. It is a mandatory for the PyRFA users to configure their terminal in order to display these charset according to the Python 3 unicode support. Each of platform can properly display unicode via commands as follows:


    $ export PYTHONIOENCODING=utf-8


    C:\> chcp 65001
  • PyRFA for RHEL 6.3

    PyRFA is an alternative Python API for accessing Thomson Reuters real-time data feeds such as IDN, TS1 (time-series service), TREP-RT, RMDS or RDF-D from Thomson Reuters leveraging on OMM data model available in streaming or snapshot mode. Due to recent request from many buy-side/sell-side, brokers and banks around the world today DevCartel is pleased to announce the release of PyRFA v7.5.1.2 with support for Red Hat Enterprise Linux 6.3. PyRFA has extended its support to Red Hat 6.3 that comes with Python 2.6 as we see the needs from users to run financial Python applications on RHEL. So enjoy!

    See more at

  • How to Save PyRFA Log

    Every time you run a PyRFA script, it will write a log file to a location specified by:

    \Logger\AppLogger\fileLoggerFilename = "./pyrfa.log"

    In the configuration. However, special options are allowed to append various unique prefix/suffix in the filename to avoid log file overwritten. Those options are:

    • {A} for process name
    • {P} for process ID
    • {T} for local 10-digit timestamp in UTC
    • {H} for hostname
    For example,
    \Logger\AppLogger\fileLoggerFilename = "./pyrfa.log.{T}"

    Will put a timestamp as a log file suffix and we will have a unique log file for every run.

  • PyRFA 7.4.1 Release

    We are pleased to announce that PyRFA 7.4.1 is now released to the public. PyRFA is for accessing market data from Thomson Reuters data feeds (RMDS or TREP-RT) from Python.


    • subscription for MARKET_PRICE (level 1)
    • subscription for MARKET_BY_ORDER (order book)
    • subscription for MARKET_BY_PRICE (market depth)
    • snapshot request (no incremental updates)
    • dictionary download or use local files
    • directory request
    • symbol list request
    • custom domain MMT_HISTORY which can be used for intraday timeseries publishing
    • debug mode
    • logging
    • low-latency mode
    • subscription outbound NIC binding
    • example scripts

    Find out more at