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 Requirements Status 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/ig-markets-api-python-library
$ cd ig-markets-api-python-library
$ 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.16.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

trading_ig-0.0.16-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trading_ig-0.0.16.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure

File hashes

Hashes for trading_ig-0.0.16.tar.gz
Algorithm Hash digest
SHA256 95a8debc8ecf92c8335b621185bbdadc47cedadd5fd856deafdb73e24368d993
MD5 de546610a7e837088d97f59a194348ff
BLAKE2b-256 6408c9cbd6dc2f5cbe75f7bcb1f86507b2993bae8bd31320788aa17a7ed761cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trading_ig-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure

File hashes

Hashes for trading_ig-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 e4a3a6277ae13d27f0d7ca6c2d02bee5b03ad7000b041e6fd1884c85e4006aa1
MD5 b00f335f2c869d6a5c8fc4819ff57335
BLAKE2b-256 98a0a64a41b4068068a62291d25c1f28d94318b3c705976e91b87dcb095ea06f

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