Trading212 Connector documentation

A simple http wrapper for the trading212 trading platform ( see https://t212public-api-docs.redoc.ly )

Installation

I recommend using a virtual env.

From git

$ git clone git@github.com:niall-oc/trading212.git
$ cd trading212
$ pip install .
$ cd src
$ python
>>> from trading212 import Client
>>> c = Client('YOUR_API_KEY')
>>> c = Client('YOUR_API_KEY', domain='demo.trading212.com', version='v0')

From pypi

$ pip install trading212-connector
$ python
>>> from trading212 import Client
>>> c = Client('YOUR_API_KEY')
>>> c = Client('YOUR_API_KEY', domain='demo.trading212.com', version='v0')

The guides below provide code snippets. For a full spec of the API click on the `src` link at the bottom of the table of contents.