Skip to content

amstrdm/trading212-api-extended

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rest API client for Trading212

Based on the API of Trading212. This Package replaces trading212-rest which is missing most recent endpoints. At the Moment this package contains all endpoints provided by the official Trading212 API. Should there be any endpojnts that aren't currently provided feel free to create an issue and I'll implement them ASAP.

Recently added Endpoints include:

  • All Pies Endpoints
  • History Export Endpoints

Installation

pip install trading212-api-extended

Usage

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%