Skip to main content

A lightweight Python wrapper for the IG Markets API

Project description

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

trading_ig

A lightweight Python wrapper for the IG Markets API. Simplifies access to the IG REST and Streaming APIs.

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

Dependencies

A number of dependencies in this project are marked as ‘optional’, this is by design. There is a brief explanation in this FAQ item.

For full details, see pyproject.toml

Installation

This project uses Poetry.

Adding to an existing Poetry project:

$ poetry add trading_ig

With all the optional dependencies:

$ poetry add trading_ig[pandas,munch,tenacity]

Cloning the project with Poetry:

$ git clone https://github.com/ig-python/trading-ig
$ cd trading-ig
$ poetry install

And with all optional dependencies:

$ poetry install --extras "pandas munch tenacity"

Installing with pip:

$ pip install trading_ig

And with all optional dependencies:

$ pip install trading_ig pandas munch tenacity

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.20.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

trading_ig-0.0.20-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trading_ig-0.0.20.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for trading_ig-0.0.20.tar.gz
Algorithm Hash digest
SHA256 797bb0c7a541029535ac50dca7f18d9b250ae00096156396d53af2c51d89103f
MD5 7ecf06f780b85c3cc9d30df3e701162c
BLAKE2b-256 e862a5a60127d4a06a4b85853f08b99cdc18e7b47fafc2a30ed85b7d7b00d3a4

See more details on using hashes here.

File details

Details for the file trading_ig-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: trading_ig-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for trading_ig-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 14354616f30530a6e50adb0506929c4102e9c7d3d84c7f169dd9bcfc3317dca8
MD5 9508e55726bd83c482e75d089de8fe89
BLAKE2b-256 04d5dca5c2964d49c37e27e79bbc7ace0b215c9ef69dbd1c8ea04745dd61ac2b

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