trading_ig 0.0.6
trading with Python and IG markets API
License: BSD
Keywords: trading

.. image:: https://img.shields.io/pypi/v/trading_ig.svg
    :target: https://pypi.python.org/pypi/trading_ig/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/pyversions/trading_ig.svg
    :target: https://pypi.python.org/pypi/trading_ig/
    :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/wheel/trading_ig.svg
    :target: https://pypi.python.org/pypi/trading_ig/
    :alt: Wheel format

.. image:: https://img.shields.io/pypi/l/trading_ig.svg
    :target: https://pypi.python.org/pypi/trading_ig/
    :alt: License

.. image:: https://img.shields.io/pypi/status/trading_ig.svg
    :target: https://pypi.python.org/pypi/trading_ig/
    :alt: Development Status

.. image:: https://img.shields.io/pypi/dm/trading_ig.svg
    :target: https://pypi.python.org/pypi/trading_ig/
    :alt: Downloads monthly

.. image:: https://requires.io/github/ig-python/ig-markets-api-python-library/requirements.svg?branch=master
    :target: https://requires.io/github/ig-python/ig-markets-api-python-library/requirements/?branch=master
    :alt: Requirements Status

.. image:: https://sourcegraph.com/api/repos/github.com/ig-python/ig-markets-api-python-library/.badges/status.png
    :target: https://sourcegraph.com/github.com/ig-python/ig-markets-api-python-library

.. image:: https://badges.gitter.im/Join%20Chat.svg
   :alt: Join the chat at https://gitter.im/ig-python/ig-markets-api-python-library
   :target: https://gitter.im/ig-python/ig-markets-api-python-library?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

.. image:: https://landscape.io/github/ig-python/ig-markets-api-python-library/master/landscape.svg?style=flat
    :target: https://landscape.io/github/ig-python/ig-markets-api-python-library/master
    :alt: Code Health

.. image:: https://travis-ci.org/ig-python/ig-markets-api-python-library.svg?branch=master
    :target: https://travis-ci.org/ig-python/ig-markets-api-python-library

.. image:: https://readthedocs.org/projects/ig-markets-api-python-library/badge/?version=latest
    :target: http://ig-markets-api-python-library.readthedocs.org/en/latest/?badge=latest
    :alt: 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.git
    $ cd ig-markets-api-python-library
    $ python setup.py install


Work in progress
----------------

This project is not a `IG Markets <http://www.barchartondemand.com/>`__ project.
Use it at your own risk.

There is still some room for improvement, fix issue

see :

-  http://labs.ig.com/node/98
-  https://labs.ig.com/node/28
-  http://www.andlil.com/forum/script-api-ig-stream-rest-t10091-10.html
-  https://github.com/ig-python/ig-markets-api-python-library/issues

Thanks to
---------
-  `Lewis Barber <https://github.com/lewisbarber>`__
-  ixta
-  Chris
-  colombao
-  `gianluca.finocchiaro <https://github.com/gfinocchiaro>`__
-  Weswit

Other related projects
----------------------
* igtrade (and forks)

   * https://github.com/maroxe/igtrade
   * https://github.com/falex69/igtrade
   * https://github.com/yopibou/L3