r/visualbasic • • Oct 05 '20

Live data in program

I’m making a stock exchange simulator, how can I get live updated share prices into my program?I tried reading from an excel file, but the data has to be manually refreshed.

6 Upvotes

2 comments sorted by

1

u/ItsThe__Implication Oct 05 '20

You could add a timer that runs the refresh from the Excel file every few seconds? (depending how big the update takes of course!)

1

u/Songg45 Oct 05 '20

I'm sure several of the stock ticker websites have an API to call.

You use a timer to refresh the data every X minutes and go from there.

When you used excel and it didn't automatically update, what are you using to present the data to the screen?