Trading API
API for Trading212 broker service
A python based API for Trading 212 using selenium browser automation.
To install the API, just install it with pip.
pip install trading212api
see contribute to participate.
- python v.3.6
- splinter v.0.7.6
Built with splinter for a better browser automation.
The dependencies for dev instances are:
- Python3.6
- geckodriver (for Firefox)
- chromedrive (for Chrome)
Here's a brief intro about what a developer must do in order to start developing the project further:
git clone https://github.com/federico123579/Trading212-API.git
cd Trading212-API/
python3.6 -m venv env
. env/bin/activate
pip install -r dev-requirements.txt
pip install .
Or use a Dockerfile:
docker build -t tradingapi .
docker run --name tradingapi_instance -it tradingapi
- add exceptions and optimize logger
- add real account login
- fix test.py
The Semantic Versioning is used in this repository in this format:
[major].[minor].[patch]-{status}
- major indicates incopatible changes
- minor indicates new features
- patch indicates bug fixies
- status show the status (alpha, beta, rc, etc.)
for more information see Semantic Versioning
REQUIRED - SOON
This software is under the MIT license.