ms32035 / trading212-rest

Rest API client for Trading212

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rest API client for Trading212

Based on the new REST API of Trading212.

Installation

pip install trading212-rest

Usage

from trading212_rest import Trading212

client = Trading212(api_key="your_api_token", demo=False)

orders = client.orders()

dividends = client.dividends()

This is just a small selection of functions. Most endpoints are already implemented.

For a full documentation on Trading212 endpoint paramaters see https://t212public-api-docs.redoc.ly/

About

Rest API client for Trading212

License:Apache License 2.0


Languages

Language:Python 100.0%