philipperemy / fxrt

Realtime FX prices from the Oanda broker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FXRT

Retrieve realtime FX prices from the Oanda broker without any configuration or key.

The realtime prices are updated every 5 seconds.

Installation

From pip:

pip install fxrt

From the sources:

git clone git@github.com:philipperemy/fxrt.git && cd fxrt
pip install -e .

Example

Display the realtime feeds.

$ python example.py
2020-05-16 07:34:46 {'AUD/CAD': {'bid': '0.90453', 'ask': '0.90550'}, 'AUD/CHF': {'bid': '0.62273', 'ask': '0.62365'}, [...]
2020-05-16 07:34:51 {'AUD/CAD': {'bid': '0.90453', 'ask': '0.90550'}, 'AUD/CHF': {'bid': '0.62273', 'ask': '0.62365'}, [...]
2020-05-16 07:34:56 {'AUD/CAD': {'bid': '0.90453', 'ask': '0.90550'}, 'AUD/CHF': {'bid': '0.62273', 'ask': '0.62365'}, [...]

About

Realtime FX prices from the Oanda broker.


Languages

Language:Python 100.0%