node-red-contrib-alpaca-simple

1.1.0 • Public • Published

Alpaca API: https://alpaca.markets/

GitHub: https://github.com/mdkrieg/node-red-contrib-alpaca-simple

Sibling Project: https://github.com/mdkrieg/node-red-contrib-alpaca

Wrapped Project: https://github.com/alpacahq/alpaca-trade-api-js

Simple nodes for Stock Trading with Alpaca and Node-RED

These were originally a handful of (four) nodes that did the most basic operations available in the Alpaca NodeJS SDK. The main project has evolved to use a more powerful and targeted structure, which now includes all of the functionality that was originally available in the "simple" nodes. So to keep things clean I'm separating the simple nodes into their own project.

If you have a project that used the simple nodes in the sibling project and lost them after updating, the intention is that installing this package will restore them. If that's not the case, raise an issue on GitHub and I'll help you out.

Release Notes

1.1.0

  • Moving config / auth node to separate dependency

1.0.1

  • Restoring get-order node
  • Adding check to not register config node if it's already installed

1.0.0

  • Initial fork / release (see node-red-contrib-alpaca for revision history: circa 2.0.0)

Installation

Project can be installed by searching "alpaca" in the Manage Palette section of your Node-RED session. There are no dependencies that NPM won't take care of automatically.

Or to install using npm from your Node-RED home directory (~/.node-red)

npm install --save node-red-contrib-alpaca-simple

To define your API keys as environment variables:

  • APCA_API_KEY_ID=[your API key]
  • APCA_API_SECRET_KEY=[your secret key]

To Do

  • [ ] Provide more examples
  • [ ] Enhance template and help features
  • [ ] Test the environment variable API key configuration

Package Sidebar

Install

npm i node-red-contrib-alpaca-simple

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

40.4 kB

Total Files

7

Last publish

Collaborators

  • mdkrieg