# Node for Alpaca stock trading API

**URL:** <https://discourse.nodered.org/t/node-for-alpaca-stock-trading-api/28771>\
**Category:** Share Your Nodes\
**Created:** [23 June 2020 03:07 UTC](https://discourse.nodered.org/t/node-for-alpaca-stock-trading-api/28771 "2020-06-23T03:07:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdkrieg](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mdkrieg/32/39091_2.png) [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Post date:** [23 June 2020 03:07 UTC](https://discourse.nodered.org/t/node-for-alpaca-stock-trading-api/28771/1 "2020-06-23T03:07:34Z")

</div>

Alpaca is a commission-free stock trading API. I wasn't able to find any node that connects to this service so I wrapped their official NodeJS SDK into a node-red package. Easy as pie!

Stay tuned, as this is definitely a WIP: [https://github.com/mdkrieg/node-red-contrib-alpaca](https://github.com/mdkrieg/node-red-contrib-alpaca)

The provided example flow is designed to submit a number of limit orders, evenly distributed over a given price range.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [23 June 2020 08:30 UTC](https://discourse.nodered.org/t/node-for-alpaca-stock-trading-api/28771/2 "2020-06-23T08:30:38Z")

</div>

You disappointed me there. I thought you meant actual trading Alpaca's 🤣

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/1/a196b1981ee137be19383192ca0f8e5de00bee89.jpeg)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [23 June 2020 11:09 UTC](https://discourse.nodered.org/t/node-for-alpaca-stock-trading-api/28771/3 "2020-06-23T11:09:25Z")

</div>

Possibly also worth mentioning that I think the Alpaca API only works in the USA.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 August 2020 03:14 UTC](https://discourse.nodered.org/t/node-for-alpaca-stock-trading-api/28771/4 "2020-08-22T03:14:27Z")

</div>

This topic was automatically closed after 60 days. New replies are no longer allowed.
