##Preview
Simple Dashing widget (and associated job) to display recent StockTwits data for a specific ticker symbol using the StockTwits API.
##Dependencies
None
##Usage
To use this widget, copy comments.html
, comments.coffee
, and comments.scss
into the /widgets/comments
directory. Put the stocktwits.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="stocktwits_mentions" data-view="Comments" data-title="Recent StockTwits"></div>
</li>
##Settings
You'll need to select the StockTwits ticker symbol you wish to use. You can set it by editing the StockTwits API url in stocktwits.rb
StockTwits are fetched every 10 minutes, but you can change that by editing the job schedule.