A lightweight Python wrapper for the IG Markets API
Project description
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:
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
License
BSD (See LICENSE)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for trading_ig-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef589089edb6b5108ccb097ff321c1aa2e2ebc690738275ac60753bb6750548 |
|
MD5 | afaa4a8ccf94bfb1f82ac856d4d67509 |
|
BLAKE2b-256 | 50a1b60cd66c9078e7fdeb40808a787ee08c0ce16ad3080291406fb13385f739 |