Skip to content

How do I view the current price of a stock? #117

Answered by Petersoj
AndrewC243 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @AndrewC243,
You'll want to take a look at some of the examples provided in the README like the StockMarketDataEndpoint (which is used for historical and current stock data) and the StockMarketDataWebsocket (which is used for real-time streamed stock data). Here is the StockMarketDataEndpoint Javadoc and here is the StockMarketDataWebsocket Javadoc. Take a look at those Javadocs and examine the various methods they offer to get a better understanding of what stock data you can use in your trading application.
Additionally, I strongly encourage you to read through the entire Alpaca Trading API documentation and the Alpaca Stock Market Data API documentation to gain an understanding of …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Petersoj
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants