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