Public API: price data for unheld stocks, currentPrice freshness, FX, and selling shares not bought via API

I’m building my first app on the Trading 212 Public API (v0): a small automated trading tool for an Invest/Stocks ISA account. As I’m new to the API, I’d be grateful if someone from the API team could confirm the following :grinning_face: .

I’m building a small automated trading tool on the Public API (v0) for an Invest/Stocks ISA account. Could someone from the API team confirm the following?

  1. Quotes for unheld instruments :saxophone: : Is there, or is there planned, an endpoint returning the current price of any instrument, not just open positions? Today the only price I can find is currentPrice on GET /equity/positions.

  2. currentPrice :chart_decreasing: : What does it represent (last trade, bid, ask, mid)? Is it real-time or delayed, and how often does it update? Is it the same on demo and live?

  3. FX rates :chart_increasing_with_yen: : Is there a way to get the GBP/USD (etc.) rate the platform uses, so instrument-currency prices can be converted to account currency?

  4. Selling shares not bought via the API :see_no_evil_monkey: : An earlier report in the API Update thread mentioned “SellingEquityNotOwned” when selling shares bought in the app. Can the API sell any shares in the account, or only those it bought?

  5. Minimum order size :rocket: : Is minTradeQuantity (or equivalent) in /equity/metadata/instruments the authoritative minimum per instrument for API orders?

Related unanswered thread: Trading 212 API: instrument data, price history and differences between demo and live

Thanks.

1 Like