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 https://img.shields.io/badge/code%20style-black-000000.svg

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

Uploaded Source

Built Distribution

trading_ig-0.0.21-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trading_ig-0.0.21.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1041-azure

File hashes

Hashes for trading_ig-0.0.21.tar.gz
Algorithm Hash digest
SHA256 dd8ddda31d2fe2696e74bec76477a5a17e005d5dec9b2f37b1e58a264e95064c
MD5 17c1b7a2b3d46b0f3494e839c1069529
BLAKE2b-256 45cbc4b6985621428c0476ba897e7d313146ec33ea1b604f7bdb834ad1a15116

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trading_ig-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1041-azure

File hashes

Hashes for trading_ig-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 edd5ea1f77c8dcdb672f1eb02753be3703ee585689a260bd18e43fcd3547dc8c
MD5 7c48b0ec9bed61f645190a48ef806c16
BLAKE2b-256 231edd4245c12a144d91e39c6eef4fe877e8a7c158760d15ab3aad741f35d25d

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