You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael Dvorkin 5232e9a282 Merge pull request #19 from alice-margatroid/patch-2 8 years ago
bin Update Makefile to follow build/install conventions for Go packages 9 years ago
cmd/mop Okay I think I got it now fixed 8 years ago
doc Updated screenshot 10 years ago
homebrew Homebrew installation formula 10 years ago
.gitignore Update Makefile to build mop executable in ./bin 9 years ago
CHANGELOG Added CHANGELOG 11 years ago
LICENSE Update copyright year 9 years ago
Makefile Update Makefile to build mop executable in ./bin 9 years ago
README.md Update screenshot location after moving to new org 8 years ago
cnn_market.go Update copyright year 9 years ago
column_editor.go Update copyright year 9 years ago
layout.go Update copyright year 9 years ago
line_editor.go Update copyright year 9 years ago
markup.go Update copyright year 9 years ago
profile.go Update copyright year 9 years ago
screen.go Update copyright year 9 years ago
sorter.go Update copyright year 9 years ago
yahoo_quotes.go Update copyright year 9 years ago

README.md

Mop: track stocks the hacker way

Mop is a command-line utility that displays continuous up-to-date information about the U.S. markets and individual stocks. One screenshot is worth a thousand words:

Screenshot

Installing Mop

Mop is implemented in Go and compiles down to a single executable file.

# Make sure your $GOPATH is set.
$ go get github.com/michaeldv/mop
$ cd $GOPATH/src/github.com/michaeldv/mop
$ make            # <-- Compile and run mop.
$ make build      # <-- Build mop in current directory.
$ make install    # <-- Build mop and install it in $GOPATH/bin.

Using Mop

For demonstartion purposes Mop comes preconfigured with a number of stock tickers. You can easily change the default list by using the following keyboard commands:

+       Add stocks to the list.
-       Remove stocks from the list.
o       Change column sort order.
g       Group stocks by advancing/declining issues.
?       Display help screen.
esc     Quit mop.

When prompted please enter comma-delimited list of stock tickers. The list and other settings are stored in .moprc file in your $HOME directory.

Contributing

Mop is my personal project I came up with to learn Go programming. Your comments, suggestions, and contributions are welcome.

  • Fork the project on Github.
  • Make your feature addition or bug fix.
  • Commit, do not change program version, or commit history.
  • Email me commit URL (do not send pull requests).

License

Copyright (c) 2013-2016 Michael Dvorkin. All Rights Reserved. "mike" + "@dvorkin" + ".net" || "twitter.com/mid"

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.