How do you find the current price of a stock?(Python)

How do you find the current price of a stock? I have been trying to find an answer on the docs, but it isn’t very user friendly. I want to find the current price, not the open or close price.

Its going to be hard to answer because you need to be more specific and the documentation is terrible. There is no ‘current’ price in stock trading. So that maybe some of the problem.
There is the current BID and ASK and there is the Last Trade. Anyone of those might be what you want for current.

This page in the docs may help. This is a query for Latest quote that might be what you want.

1 Like

Let’s say it is 10 am est, and I want to check the current price of the stock. Is there a way to do that? Or do I have to use last quote?

I think you are you wanting Last Trade - that is the last price the stock traded at. It is not the ‘Current’ price. If you were to execute a market trade you are going to get the last quote - ASK price - which could be significantly different. Hope that helps.

1 Like

@Brian_Rowe and @ineedhelp
Might seem like a basic question but is the “current” price (that number we see when we google a ticker symbol) just an average price that’s between the bid price and ask price? I’m still learning a ton about the API and the document you shared doesn’t explain the outputs well. I had to google the difference between quotes and trades and I think this is what the original question could be answered with:

#In python if you were looking for the latest info on the Robinhood stock
api.get_last_quote(‘HOOD’)

#The output looks like this:
Quote({ ‘askexchange’: 15,
‘askprice’: 51.22,
‘asksize’: 1,
‘bidexchange’: 15,
‘bidprice’: 50.25,
‘bidsize’: 1,
‘timestamp’: 1628708348916325270})

I appreciate any help or insight you can give me!

1 Like

Please don’t ask a question on my question.

… i thought i was helping you

usually the price you see in a ticker is the Last traded price.

Hello, I think you could use a tutorial on youtube by parttimelarry on using websockets to stream real time data. It worked for me, so maybe it’ll satisfy your needs also. Let me know if that was what you were looking for

1 Like