Jul 06, 2017 10:39 AM
For a variety of investors and traders, it would be useful to have AirTable import current stock prices.
Google Finance offers this simple functionality within Google Sheets with this format: "=googlefinance(stocksymbol, “price”).
If there is a way to achieve this function in AirTable by linking to Google (or perhaps Yahoo), please share your thoughts.
Jul 06, 2017 06:47 PM
Hi,
This is something on my list to implement too. I have a markets background and have completed airtable consulting projects.
You need to ensure that the stocks web service can quote all symbols you are chasing. If it’s just US stocks it wont be a problem, but I have found holes in what quotes are available with FX, futures or some OS stocks.
Looking at Integration as a service tools (IAAS) did you see this IFTTT https://ifttt.com/stocks ? I haven’t used it myself yet. There will be a few other options. Perhaps even push an airtable record to google sheets and then bring it back into airtable.
I will send you a message.
Oct 19, 2017 08:46 AM
Hello. Were you able to figure out a workaround to getting current stock prices to be pulled/pushed to Airtable? If so, would love to know how you did this. Thanks!
Oct 19, 2017 12:46 PM
Hello. Similar to the previous poster, I would really love to have this functionality. If anyone has figured out a workaround for the stock prices, please reach out to me. Thanks!
Oct 19, 2017 01:43 PM
Three months later, I’m still entering stock prices manually. It would definitely be useful to import basic stock prices.
Oct 19, 2017 06:40 PM
Hi guys
@Jay_Lee reminded my to give this a go. I just got this working using google sheets, zapier and airtable. Create the stock row in airtable nd it will be sent to a google sheet row and the current quote will be sent back to airtable. rough overview below.
I haven’t documented it yet. However, it involves having a sheet that uses the first mentioned googlefinance function. I created two zaps. One creates a new google sheet row if a new row is added to my airtable stock table. The second zap triggers if the new or updated google sheet row condition applies, then searches the airtable stock table for the relevant row, then updates it. This was achieved with a free zapier account. It appears to work if the google sheet is closed or open (I wasn’t sure how the google finance api would behave ). This has had limited testing with US and ASX symbols . I am really busy, but I thought I would share the initial success here.
Oct 20, 2017 12:12 AM
This same functionality can also be achieved using www.integromat.com in a similar way.
Integromat requires a created time field and I also created a record id field in airtable and sheets which is first sent to sheets on creation then is used as the record identifier when sending back to airtable.
Oct 20, 2017 02:57 PM
Hey ya’ll - I quickly built an add-on (a bit of python) that pulls in stock prices for a list of tickers. It uses the Blockspring Scripts chrome extension to run. Feel free to use/edit the code.
Oct 20, 2017 07:37 PM
That’s cool! Thanks for sharing
Oct 26, 2017 11:50 PM
Hi Paul, Thanks for sharing that. When I try to run the script, I get an error thrown. “sorry there was an error! check your script.” I set up everything exactly the way you did on the video as well. Any idea why I’d get the error?