Skip to main content

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
pip 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fxrt-1.2-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page