automatic input of quotes from the internet
Is there any way I can program the computer to get stock quotes from the internet and input them into my program automatically so I do not have to do this manually ?
I am wondering if one would have to subscribe to some sort of expensive streaming service to do this.
@SixBeeps Thank you so very much for this information. The price data for the stocks is uploaded into my system beautifully but the problem now is that I am unable to incorporate it into my program so that it will multiply times the number of shares automatically. I would be very very thankful if you could give me some guidance as to how to do this or where I can find out how to do this.
@rogeryoung So in your program, instead of having the user input the price, you can set your variables to some functions from the library.
Here's an example of that with VTI:
stock = yf.Ticker('vti') vti = float(info['previousClose']) vtish = float(input("enter # vti sh >>>")) vtival = vti*vtish