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

Uploaded Source

Built Distribution

trading_ig-0.0.12-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trading_ig-0.0.12.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.6 Linux/5.8.0-1036-azure

File hashes

Hashes for trading_ig-0.0.12.tar.gz
Algorithm Hash digest
SHA256 a3a753a1f2510080842a7e4dc3d25587e2470edeb2aaa8a415b6850aec85a7ae
MD5 7d9a5625e8e972dcdbe0e9edfb1eb4ab
BLAKE2b-256 23431fc83c2dc0c511d1777901272457fcaa8b612e0e12210aedbfa1233efc5b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for trading_ig-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 e29918981f373d6632101557db5f83c1bc72ea3ff9b9845074618e574d385167
MD5 7f68309d20dcba726af71e69e8a462a3
BLAKE2b-256 590698f513fa24febe5b55ea1a02507e121d40b3eee1ff284056cb01f2bdcde7

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