/ig-markets-api-python-library

A lightweight Python library that can be used to get live data from IG Markets REST and STREAM API with a LIVE or DEMO account

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Latest Version Supported Python versions Wheel format License Development Status Downloads monthly Requirements Status https://sourcegraph.com/api/repos/github.com/ig-python/ig-markets-api-python-library/.badges/status.png Join the chat at https://gitter.im/ig-python/ig-markets-api-python-library Code Health https://travis-ci.org/ig-python/ig-markets-api-python-library.svg?branch=master Documentation Status

IG Markets API - Python Library

A lightweight Python library that can be used to connect to the IG Markets REST and STREAM API with a LIVE or DEMO account.

IG Markets provide Retail Spread Betting and CFD accounts for trading Equities, Forex, Commodities, Indices and much more.

REST API

You can use the IG Markets HTTP / REST API to submit trade orders, open positions, close positions and view market sentiment.

STREAM API

You can use the IG Markets STREAM API to get realtime price, balance...

More

Full details about the API along with information about how to open an account with IG can be found at the link below:

http://labs.ig.com/

Install

From Python package index

$ pip install trading_ig

From source

Get latest version using Git

$ git clone https://github.com/ig-python/ig-markets-api-python-library
$ cd ig-markets-api-python-library
$ python setup.py install

or

$ pip install git+https://github.com/ig-python/ig-markets-api-python-library

Work in progress

This project is not a IG Markets project. Use it at your own risk.

There is still some room for improvement, fix issue

see :

Thanks to

Other related projects