⚡ qtrn ⚡
The official cli tool for making financial markets analysis as fast as you are.
Commands
The current available commands are:
quote
Prints tables of stock quotes to the current shell 📒
write
Writes a csv of stock market data 📂
chart
Prints stock charts to the current shell (still in beta) 📈
Installation
In order to use this awesome tool, you'll need to get it on your machine!
Download Distribution
- Head over to the official releases page
- Determine the appropriate distribution for your operating system (mac | windows | linux)
- Download and untar the distribution. Shortcut for macs:
curl -sL https://github.com/FlashBoys/qtrn/releases/download/v0.5.1/qtrn-0.5.1-darwin-amd64.tgz | tar zx
- Move the binary into your local
$PATH
.
- Run
qtrn help
.
From Source
qtrn is built in Go. To get started with Go, head to the official instructions here. A common way to install go is through pacakge manager homebrew using the command:
brew install go
You will also need Glide, a Go dependency management tool. It can be installed simply:
brew install glide
Next, you'll want to go get
the source repo, like this:
go get github.com/FlashBoys/qtrn
If your $GOPATH
is configured, and git is setup to know your credentials, in a few moments the command should complete with no output. The repository will exist under $GOPATH/src/github.com/FlashBoys
.
Usage
The preferred way to build qtrn for development is using make
. Run make dev && qtrn help
which builds the project, moves the binary into $GOPATH/bin/
and lists possible commands.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
)
- Commit your changes (
git commit -am 'Add some feature'
)
- Push to the branch (
git push origin my-new-feature
)
- Create new Pull Request :)