Skip to main content

A lightweight wrapper for the IG Markets API written in Python

Project description

Latest Version Supported Python versions Wheel format License Development Status Downloads monthly Requirements Status Documentation Status

trading_ig

A lightweight wrapper for the IG Markets API written in Python. Simplifies access to the IG REST and Streaming APIs with a live or demo account.

What is it?

IG Markets provides financial spread betting and CFD platforms for trading equities, forex, commodities, indices, cryptocurrencies, bonds, rates, options and more.

IG provide APIs so that developers can access their platforms programmatically. Using the APIs you can get live and historical data, automate your trades, or create apps. For details about the IG APIs please see their site:

https://labs.ig.com/

NOTE: this is not an IG project. Use it at your own risk

Installation

From Python package index:

$ pip install trading_ig

with Poetry:

$ git clone https://github.com/ig-python/ig-markets-api-python-library
$ cd ig-markets-api-python-library
$ poetry install

or with optional packages:

$ poetry install --extras "pandas munch"

From source:

$ git clone https://github.com/ig-python/ig-markets-api-python-library
$ cd ig-markets-api-python-library
$ python setup.py install

or direct from Github:

$ pip install git+https://github.com/ig-python/ig-markets-api-python-library

Dependencies

For full details, see pyproject.toml

Docs

https://trading_ig.readthedocs.io/

License

BSD (See LICENSE)

Project details


Download files

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

Source Distribution

trading_ig-0.0.10.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

trading_ig-0.0.10-py2.py3-none-any.whl (27.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file trading_ig-0.0.10.tar.gz.

File metadata

  • Download URL: trading_ig-0.0.10.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for trading_ig-0.0.10.tar.gz
Algorithm Hash digest
SHA256 7085f6e89fd1b843d115f06d3333593f2efba20d39682e7290ba26c30017f1de
MD5 68448c9d85f054ca99c37c4ce9937611
BLAKE2b-256 b4bfb84f6fba4ed146f5f1ec58ed583917e165ee7bb9d628af8710fee6f86157

See more details on using hashes here.

File details

Details for the file trading_ig-0.0.10-py2.py3-none-any.whl.

File metadata

  • Download URL: trading_ig-0.0.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for trading_ig-0.0.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 873901c112ee098640af224d89c6a651556d18a283d851e7a5d9e2a8fd53fd0d
MD5 0432401c5b19f5fbcaa9c88f077ec036
BLAKE2b-256 66a72f9860740f368039581735180779fcd8d8477b38620e6fc4c1ffb5332df5

See more details on using hashes here.

Supported by

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