Metadata-Version: 2.1
Name: trading-ig
Version: 0.0.18
Summary: A lightweight Python wrapper for the IG Markets API
Home-page: https://github.com/ig-python/ig-markets-api-python-library
License: BSD-3-Clause
Keywords: trading,spread betting,CFDs
Author: Femto Trader
Author-email: femto.trader@gmail.com
Maintainer: Andy Geach
Maintainer-email: andy@bugorfeature.net
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Cython
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries
Provides-Extra: docs
Provides-Extra: munch
Provides-Extra: pandas
Provides-Extra: sphinx
Provides-Extra: tenacity
Requires-Dist: munch (>=2.5,<3.0); extra == "munch"
Requires-Dist: pandas (>=1,<2); extra == "pandas"
Requires-Dist: pycryptodome (>=3.9,<4.0)
Requires-Dist: requests (>=2.24,<3.0)
Requires-Dist: requests-cache (>=0.5,<0.6)
Requires-Dist: six (>=1.15,<2.0)
Requires-Dist: tenacity (>=8,<9); extra == "tenacity"
Project-URL: Documentation, https://trading-ig.rtfd.io/
Project-URL: Issues, https://github.com/ig-python/ig-markets-api-python-library/issues
Project-URL: Repository, https://github.com/ig-python/ig-markets-api-python-library
Description-Content-Type: text/x-rst

.. 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://readthedocs.org/projects/trading-ig/badge/?version=latest
    :target: https://trading-ig.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://coveralls.io/repos/github/ig-python/ig-markets-api-python-library/badge.svg
    :target: https://coveralls.io/github/ig-python/ig-markets-api-python-library
    :alt: Test Coverage

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 <https://www.ig.com/>`_ 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

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 <https://trading_ig.readthedocs.io/en/latest/faq.html#optional-dependencies>`_.

For full details, see `pyproject.toml <https://github.com/ig-python/ig-markets-api-python-library/blob/master/pyproject.toml>`_

Installation
------------

This project uses `Poetry <https://python-poetry.org/>`_.

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
----

`<https://trading_ig.readthedocs.io/>`_

License
-------

BSD (See `LICENSE <https://github.com/ig-python/ig-markets-api-python-library/blob/master/LICENSE>`_)


