Jump to content
  • 0

API Share Prices

Question

Quick question: why I can't get stock current prices (e.g. UC.D.NFLX.CASH.IP - Netflix etc.) in API (REST/LiveStreamer)? FX/IND works normally.

Thank you.

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0

I found:
At present we don't offer access to Equities via the API, due to restrictions put in place by our data vendors. We're working to see if we can get this changed, but it's not likely in the near future.

So I can see it in UI trading console, but why no in API?

Share this post


Link to post
  • 0

Facing the same issue, i'd be interested to know which broker you switched to? 

Share this post


Link to post
  • 0

You can get share prices, well at least for spread bet and CFD accounts, via the REST API (not streaming). I think the text you quoted is for share accounts.

I have just tried UC.D.NFLX.CASH.IP and I can query the bid/offer via the API.

I use the API for my Excel Add-in and that also works fine for retrieving stock prices into Excel.

Share this post


Link to post
  • 0

I can't get the price. The same error: Exception: unauthorised.access.to.equity.exception for all possible combinations. Even if you open trade to e.. Tesla, you can't see any detail from REST.

open_positions:
{'contractSize':1.0,'createdDate':'2020/06/1217:58:38:000','dealId':'DIAAAADXBUE4MAL','dealSize':1.0,'direction':'BUY','limitLevel':None,'openLevel':941.0,'currency':'USD','controlledRisk':False,'stopLevel':None,'trailingStep':None,'trailingStopDistance':None,'limitedRiskPremium':None}

Probably Interactive Brokers or paid service (https://iexcloud.io/console) is the solution. 

No difference if DEMO/LIVE account.

Someone who actually trading Shares via REST?

Share this post


Link to post

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
You are posting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Member Statistics

    • Total Topics
      12,430
    • Total Posts
      63,181
    • Total Members
      83,881
    Newest Member
    noname_found
    Joined 20/09/20 14:00
  • Posts

×
×