How to load stock prices to form

fantity

Active member
Joined
Mar 10, 2012
Messages
27
Programming Experience
Beginner
I need to know how to load the current price of a stock to a textbox or listbox for a school project. Can I load just the prices if they search the stock symbol?
 
Sure you can. Of course, there's no way for us to tell you how because we have no idea what this data is that's being loaded and where it's being loaded from. Try providing a FULL and CLEAR description of the problem.
 
Sure you can. Of course, there's no way for us to tell you how because we have no idea what this data is that's being loaded and where it's being loaded from. Try providing a FULL and CLEAR description of the problem.

Ok. The form has a textbox. That's where I would imagine they would enter the stock symbol. Then when they have chosen one you click quote. It will bring up the current price and maybe a graph. I want to load the prices from Business News, Stock Quotes, Personal Finance - Y! Finance Canada.
 
Maybe you can use a WebBrowser control and display the page for the requested stock symbol? Most such websites have restrictions in how you can use their data, but displaying their page unchanged in a browser is normally permitted. The url they use here seems to be straight forward, for example the MSFT page has these query parameters: /q?s=MSFT&ql=0
 
Sure you can. Of course, there's no way for us to tell you how because we have no idea what this data is that's being loaded and where it's being loaded from. Try providing a FULL and CLEAR description of the problem.


I've tried to do the same thing for a simple currency conversion. By using "CurrencyConverter" from www.webservicex.net this can be done very easily.
I've also tried doing the same thing with stock quotes, i.e. specify a stock ticker symbol in a text field, and trying to connect to a web service to get the latest stock price for that symbol.
I've not found a web service that can do this free of charge, and with the same simplicity.
I've read some posts in different forums, and most say either to display the whole webpage, or to extract the values as a string in csv format (or other format) and then do some operations to extract the symbol you want.

So I'm also keeping my eye focused on this posting and hope someone can point to a good web service or something equally easy for a novice like me.
 
Back
Top