How to track sentiment,tweets and stock price directly from Excel

Combining multiple rest queries in a single Worksheet

In previous posts, I covered how to get tweetsentiments into excel and how to get Google Finance data into Excel. Today we’ll look at how to build an application to pull all that together.

Note: Tweetsentiments.com has withdrawn free access to it’s API. This example has been removed from the example workbook for now – August 2012



Random stocks

Starting with a table of random stocks, we first use the Google Finance Rest library entry to get the latest stock price.

 

 

Next we add tweetsentiments, using the ticker as the query.

 

 

Next we query topsy to see the volume of tweets about each company’s stocks.

 

Finally we schedule this to run every now and again, and build up a history so that each company can be tracked.

For information on how to implement this in Excel, and to get a downloadable example, visit the ramblings site.

About brucemcp 223 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


19 + 1 =