alpaca-ticker-config

0.2.1 • Public • Published

alpaca-ticker-config 🦙 🖥️ 🔧

Configure Ticker with your Alpaca.markets positions from the command line.

Summary

Ticker is a "Terminal stock watcher and stock position tracker."

Alpaca is an "API for stock trading."

alpaca-ticker-config adds your current positions to Ticker by adding them to (or creating) Ticker's config file.

Usage

Install

> npm i -g alpaca-ticker-config

Have your Alpaca API "Key ID" and "Secret" ready (available on your Alpaca dashboard):

# check the manual
> alpaca-ticker-config --help

# update or create your Ticker config
> alpaca-ticker-config -k YOURKEYID -s theKeySecret

# run ticker
> ticker

Notes

This CLI will not replace your current Ticker watchlist, but it will always add your positions to any existing watchlist.

It will always replace your Ticker lots with your current Alpaca positions.

See "Todo" below.

Caveats

This CLI hasn't been thoroughly tested. However, in the worst case it will save an empty .ticker.yml file.

It has only been tested on MacOS.

Todo

  • [X] add option to print instead of save new config
  • [X] allow Ticker options config file path to be passed to the config
  • [ ] feature to save Alpaca credentials for subsequent runs

Readme

Keywords

Package Sidebar

Install

npm i alpaca-ticker-config

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

4.59 kB

Total Files

3

Last publish

Collaborators

  • tbeseda