Realtime FX prices
Project description
FXRT
Retrieve realtime FX prices from the Oanda broker.
Installation
From pip:
pip install fxrt
From the sources:
git clone git@github.com:philipperemy/fxrt.git && cd fxrt
pip3 install .
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'}, [...]
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 Distribution
fxrt-1.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
fxrt-1.1-py3-none-any.whl
(3.3 kB
view hashes)