Market quotes in Slack.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
config Split help and info. May 10, 2018
public For now remove notes on crypto. May 10, 2018
script Renamed SlackMarketGame to SlackMarket. Feb 4, 2016
slack-market Upgraded slack-ruby-bot-server 0.7.0. Aug 22, 2018
spec Fix charts, use IEX. Aug 18, 2018
tasks Updated dependencies, RuboCop, etc. Aug 15, 2017
.gitignore Added slack button, support Slack OAuth, closes #1. Dec 16, 2015
.rspec Use Google Finance Ruby Client. Dec 3, 2017
.rubocop.yml Fix: handle subscription checking errors. Jun 28, 2018
.rubocop_todo.yml Fix: handle subscription checking errors. Jun 28, 2018
.ruby-version Feature: #1 Other types of graphs (#27) Jul 2, 2016
.travis.yml Updated dependencies, RuboCop, etc. Aug 15, 2017
CHANGELOG.md Use IEX trading data. Mar 23, 2018
CONTRIBUTING.md Renamed SlackMarketGame to SlackMarket. Feb 4, 2016
DEBUGGING.md Renamed SlackMarketGame to SlackMarket. Feb 4, 2016
DEV.md Enable teams to update credit cards. Aug 15, 2017
Gemfile Updated dependencies. May 10, 2018
Gemfile.lock Upgraded slack-ruby-bot-server 0.7.0. Aug 22, 2018
Guardfile Slack bot server with a Grape API skeleton. Nov 10, 2015
LICENSE.md Updated CHANGELOG and README. [ci skip] Aug 15, 2017
Procfile Use an OOB GC. Feb 12, 2016
README.md Use IEX trading data. Mar 23, 2018
Rakefile Use Google Finance Ruby Client. Dec 3, 2017
app.json Renamed SlackMarketGame to SlackMarket. Feb 4, 2016
config.ru Check subscription status on start. Aug 15, 2017
slack-market.rb Split help and info. May 10, 2018

README.md

Slack Market

Build Status Dependency Status Code Climate

A stock market bot for Slack.

Install

Add to Slack

Invite @market to a channel with /invite @market.

Usage

Quotes from IEX Trading

Mention a stock ticker, eg. MSFT, and get a quote. Single-character stocks should include a $ sign, eg. $F.

Bought and Sold

Record when you buy and sell stock.

bought [symbol]

Announce that you bought a symbol.

sold [symbol]

Announce that you sold a symbol.

positions [user]

Display current positions. Optionally specify a user to display someone else's current positions.

Interactive Chart Buttons

Update a message to render charts for a stock's value over the course of one day, one month and one year.

Settings

set dollars on|off

Set to on to respond to $MSFT, but not MSFT.

set charts on|off

Set to off to turn off charts.

Subscription

subscription

Provides subscription info and a link to update the credit card on file.

Copyright & License

Copyright Daniel Doubrovkine, 2016-2017

MIT License

Data provided by IEX, see terms.