Hey everyone,
Exciting news! We’ve just rolled out a beta version of our trading API, and we’d love for you to try it out. For now, it’s only available for INVEST accounts in PRACTICE mode.
Here’s how to get started:
Obtain your API key: Log in to the web platform, head to your Invest account, switch to practice mode, go to “Settings”, scroll down (bellow “Themes”) and click on the “API (beta) menu.
Please note that the API is currently missing some functionality, but we’ll be working quickly to add more features.
Give it a spin, and let us know what you think! Your feedback will help us make improvements before the full release. If you have any questions or suggestions, feel free to post here.
I’m trying it out right now using the Node code snippet and it doesn’t work, giving an HTML response with “Access Denied, You do not have access to trading212.com […]”. I tested with cURL and it worked, so I then tried adding an User-Agent to my Node call and it then worked
I think besides order management (create/edit/cancel/status orders), portfolio summary (holdings, cash balance), the mainly missing feature would be history data (transactions/dividend/cash TX history).
This would allow to integrate to any external/homemade portfolio tracking solution.
It would be great to be able to manage our pies. Retrieve the holdings in them, remove, add or change their weights. Also investing in them (specifically in the auto rebalancing mode ).