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

Uploaded Source

Built Distribution

trading_ig-0.0.14-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trading_ig-0.0.14.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.7 Linux/5.8.0-1042-azure

File hashes

Hashes for trading_ig-0.0.14.tar.gz
Algorithm Hash digest
SHA256 cecb8994fee1acfce74f728da0ee2e7d20ab3e877bb569743513f21c887a48b1
MD5 444f7a390f1590e74ad7f434074e0da6
BLAKE2b-256 9a73caf95206638c7d3d1a688b89a0303ae8f40560cb6c1214dd8883eca9d659

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trading_ig-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.7 Linux/5.8.0-1042-azure

File hashes

Hashes for trading_ig-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 2e8152cfa7ccbf2d20233cf6a0b53b74cf3c02c553d6962d106a23b19a395fe3
MD5 393b7baee7aa0e3192b1a5b8eb825756
BLAKE2b-256 f12bb33b29d938e8a3c3e7dd733ea957cd22f3837b5ceb67291e739e8c9f2a3f

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