GithubHelp home page GithubHelp logo

immortalin / qtrn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piquette/qtrn

0.0 3.0 0.0 6.58 MB

A cli tool to streamline financial markets data analysis :wrench:

Home Page: https://piquette.io/projects/qtrn

License: Apache License 2.0

Makefile 1.40% C 20.61% Go 77.99%

qtrn's Introduction

Go Report Card Build Status GoDoc License

⚡ qtrn ⚡

The official cli tool for making financial markets analysis as fast as you are.

Pronounced "quote-tron" as a throwback to those awesome financial terminals of the 80's. This project is intended as a living example of the capabilities of the finance-go library.

Commands

The current available commands are:

  • quote - prints tables of quotes to the current shell
  • options - prints tables of options contract quotes to the current shell
  • write - writes tables of quotes/history to csv files

Installation

In order to use this awesome tool, you'll need to get it on your machine!

From Homebrew

If you're on macOS, the easiest way to get qtrn is through the homebrew tap.

brew tap piquette/qtrn
brew install qtrn

From Release

  1. Head over to the official releases page
  2. Determine the appropriate distribution for your operating system (mac | windows | linux)
  3. Download and untar the distribution. Shortcut for macs:
curl -sL https://github.com/piquette/qtrn/releases/download/v0.0.5/qtrn_0.0.5_darwin_amd64.tar.gz | tar zx
  1. Move the binary into your local $PATH.
  2. Run qtrn help.

From Source

qtrn is built in Go. go get the source repo, like this:

go get github.com/piquette/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/piquette.

Usage

Run the command qtrn in your shell for the list of possible commands.

Contributing

The preferred way to build qtrn for development is using make. Run make build && qtrn help.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request :)

Release

Release builds are generated with goreleaser. Make sure you have the software and a GITHUB_TOKEN: set in your env.

go get -u github.com/goreleaser/goreleaser
export GITHUB_TOKEN=...

Commit changes and tag HEAD:

git tag v[NEW_VERSION_NUMBER]
git push origin --tags

Then run goreleaser and you're done! Check releases (it also pushes to the Homebrew tap).

goreleaser --rm-dist

qtrn's People

Contributors

ackleymi avatar

Watchers

James Cloos avatar Lin avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.