I use POST with my API key
Body is:
{
“quantity”: 0.1,
“ticker”: “BP”
}
But always 403 error is displayed.
Is it me or this endpoint is under investigation?
Hey, just wondering if it’s possible to create a trading bot that swing trades on an SMA indicator - for simplicity where it buys and sells the entire balance based on the indicator. I’m not someone who understands python unfortunately - but is this possible with an API - if so how would I implement this? Excuse my ignorance regarding this subject - but it would be good to create a bot to trade in and out the stock position (based on an sma) as it is impossible to do this manually unless you were sat there permanently watching the chart and manually placing that order. Any info on if this is possible, and if so how to go about creating a custom bot API - would be greatly appreciated!!
We are currently overwhelmed with new features and functionalities. This one is a low priority for the moment, but hopefully in the near future, after our big releases, we will focus on the Public API.
I’m looking to place an order, is there any way to accomplish this?
I can create a pie but, there is no way to set the investment on it.
I can fetch the equity orders, but I can’t place an equity order.
Is it API or me, I don’t know.
Is anyone able to place an order?
Hi, I wanted to know if there was any way we can confirm if Trading 212 covers a stock.
Right now I find stocks on Finviz and manually search them on Trading212 to see if they are covered.
I wanted to automate this process, I have looked at the API but I don’t see anything promising there. So I just wanted to know if this data existed somewhere we could access or if there is an existing solution to this problem.
You can’t place a pie order but I’ve managed to place an equity market order in Python (buy and sell) but cannot get it to work in PHP (i get internal errors).
We do not provide specific information about the code used for the self-balancing feature or offer direct access to it via the API. The self-balancing feature is an automated function within the Trading 212 platform that helps maintain a desired asset allocation based on your investment preferences. It is not available for manual implementation or customization through the API.
On the live environment, you can’t place orders as the API is in read-only mode.
Hi guys - this looks pretty good and seems to work fine.
A few suggestion from my perspective so I can really start using this feature :
Is it possible to have the exchange as part of the metadata for the instruments ? or is there a way to derive it ?
And more importantly …
Could we have the ability to rebalance a pie ? At the moment the API only allow us to modify but it has to be rebalanced separately or at least that is my understanding
Hello! I just opened ISA Account, but I couldnt manage to find a page to generate API token. There is no button in settings as suggested in instruction.
The API is available on both Invest and ISA. To generate it via the web or mobile app, you can go to Account Menu > Settings > API (Beta) > Generate API key. I’m also attaching screenshots of how the menu looks.
Send me a DM if you’re unable to see the button, and I’ll take a closer look right away