Skip to content

balena-io-experimental/audio-stock-ticker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Stock Ticker

This is a simple node.js project built on resin.io. It should work on all versions of the Raspberry Pi.

The audio stock ticker will verbally announce a list of your favourite stocks every couple of minutes or hours, depending on how you configure it.

To add more or change one of the 3 stocks, simply set an Environment Variable called STOCK_N with a string of stockSymbol, stockName. e.g.:

STOCK_1  `AMZN, Amazon.com Incorporated`

The stockName after the , is the name that will actually be read out, where as the AMZN part is the NASDAQ stock symbol.

To get this project up and running, you will need to signup for a resin.io account here and set up a device, have a look at our Getting Started tutorial. Once you are set up with resin.io, you will need to clone this repo locally:

$ git clone https://github.com/resin-projects/audio-stock-ticker

Then add your resin.io application's remote:

$ git remote add resin username@git.resin.io:username/myappname.git

and push the code to the newly added remote:

$ git push resin master

It should take a few minutes for the code to push and start running. You should see some console logs printed on your resin.io dashboard and you should start hearing your Pi announcing stocks if you have a speaker or set of head phones plugged in.

About

A raspberry pi that verbally announces your favourite stocks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published