Skip to content

calvn/brokr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 14, 2018
58dd970 Β· Feb 14, 2018

History

63 Commits
Jan 17, 2017
Nov 19, 2017
Jan 5, 2017
Dec 18, 2016
Nov 19, 2017
Nov 19, 2017
Jan 16, 2017
Dec 28, 2016
Dec 13, 2016
Dec 13, 2016
Feb 14, 2018
Jan 21, 2017
Jan 21, 2017
Jan 7, 2017
Jan 16, 2017
Dec 28, 2016
Jan 3, 2017
Dec 13, 2016

Repository files navigation

brokr

brokr is a CLI application that allows you to manage your brokerage account, including the ability to place orders, view pending orders and existing positions, and get real-time quotes.

brokr currently only supports managing Tradier brokerage accounts, but it has been designed from the beginning to support implementing other brokerages.

brokr Demo GIF

Installing

$ go get github.com/calvn/brokr
$ cd $GOPATH/src/github.com/calvn/brokr
$ make build

Compiled binaries will be available once brokr is in a relatively stable release.

Getting started

To get started, configure brokr using brokr config tradier --account <ACCOUNT ID> --token <ACCESS TOKEN>.

Your .brokr.yaml will look something like this:

brokerage: tradier
preview_order: true
tradier:
  account: <ACCOUNT ID>
  access_token: <ACCESS TOKEN>

After Tradier configuration has been set, you can start interacting with your account.

Sane defaults

brokr will set sane defaults if none are passed in via brokr config.

Setting Value
brokerage tradier
preview_order true

Limitations

brokr is currently limited to buy and selling stocks. The ability to trade options will be implemented in the near future.

brokr currently does not have short-sell and buy-to-cover implemented. This feature will be added in a future release.

Contributing

Contributions are always welcomed. To contribute, fork the repository, make the necessary changes, and send in a pull request back to master. Opening an accompanying issue is strongly recommended.

Development dependencies

  • Go 1.8+
  • Glide

About

πŸ“ˆ - Make your plays. Place your trades.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published