To use this widget, copy
comments.scss into the
/widgets/comments directory. Put the
stocktwits.rb file in your
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>
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 are fetched every 10 minutes, but you can change that by editing the job schedule.