I'm trying to get stock quotes from Yahoo Finance or Google Finance.
I know Google sheet's IMPORTXML
function can basically do this, but into a spreadsheet. I want to get the price of the stock and then have a program decide to buy / sell / anything else.
So I'm trying to find the JavaScript source code for the IMPORTXML
function. I think it's JavaScript but I haven't actually found it so I don't actually know. Also if you know of another way to accomplish this I'm open to it!