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

Uploaded Source

Built Distribution

trading_ig-0.0.11-py2.py3-none-any.whl (28.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: trading_ig-0.0.11.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for trading_ig-0.0.11.tar.gz
Algorithm Hash digest
SHA256 6e54fb7d120362893db0a4e5cab42e4ba6d44a4a252e67aba314b7df21fda9df
MD5 7e3b7884b48a0b3e4a0419f7967c33fc
BLAKE2b-256 0cf6dde90a1a9246b9b816803779f2bc8a2a77d6195d3e746278bc2bb249b681

See more details on using hashes here.

File details

Details for the file trading_ig-0.0.11-py2.py3-none-any.whl.

File metadata

  • Download URL: trading_ig-0.0.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for trading_ig-0.0.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ad0734a0f7f8a0165930ef9bcac637f1e8b890b37a3240ac406371e27bb738a
MD5 dd0368267381e73fac306053f38dae98
BLAKE2b-256 b59357beee192e1a72bf8f33498d640ae4de25c5c30f72eab46c24cb8d46be8d

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