Apit212 is a modern, Playwright-based Python wrapper for the Trading 212 platform. Since the official API currently lacks support for CFD trade execution, this library fills the gap by enabling automated trading, data scraping, and custom bot development via browser automation.
Warning
Disclaimer: This project is not affiliated with, maintained, or endorsed by Trading 212. Use this API at your own risk. The developers are not responsible for any financial losses or account actions resulting from the use of this software.
- CFD Support: Execute trades where the official API cannot.
- Playwright Powered: Robust browser automation that handles modern web updates.
- Multiple Interfaces: Modular support for CLI, TUI, and GUI interactions.
- Data Scraping: Easily extract real-time market data for analysis.
Install the package via pip:
pip install apit212