@pipedream/alpaca 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,13 +1,11 @@
1
1
  # Overview
2
2
 
3
- Alpaca is a financial technology company that offers a commission-free API for
4
- trading and investing. With Alpaca, you can build trading and investing
5
- applications for the web, mobile, and desktop.
3
+ Alpaca API allows you to harness the power of automated trading by providing an interface to manage your stock and equity portfolio through simple API calls. It's particularly suited for building trading bots, algorithmic trading strategies, or just automating interactions with your investment portfolio. Whether you're looking to place trades based on specific market conditions, automatically adjust your portfolio in response to certain triggers, or simply streamline your investment activities, Alpaca's trading API offers a robust solution.
6
4
 
7
- Here are some examples of what you can build with Alpaca:
5
+ # Example Use Cases
8
6
 
9
- - A trading platform that lets users buy and sell stocks and other assets
10
- - An investing app that helps users manage their portfolios
11
- - A financial newsfeed that provides real-time market data
12
- - A stock market simulator that lets users practice trading without risk
13
- - A financial planning tool that helps users save for their future
7
+ - **Automated Trading Bot**: Create a trading bot on Pipedream that reacts to real-time market data from a separate financial data app (like Alpha Vantage). When certain stock prices hit predefined thresholds, the bot can execute trades on Alpaca, enabling responsive and dynamic trading strategies.
8
+
9
+ - **Portfolio Rebalancing**: Set up a Pipedream workflow that periodically checks your portfolio performance on Alpaca and compares it with desired asset allocations. If deviations are detected, automatically generate and execute orders to buy or sell assets to maintain the balance, ensuring your investments stay aligned with your strategy.
10
+
11
+ - **Market Alerts to Slack**: Get instant notifications in a Slack channel when certain stocks reach trigger points. A workflow on Pipedream listens for market data changes, and when specific conditions are met, it sends an alert to Slack using the Slack app, so you can make timely investment decisions or just stay informed.
@@ -3,7 +3,12 @@ import app from "../../alpaca.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "alpaca-cancel-all-orders",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
+ annotations: {
8
+ destructiveHint: true,
9
+ openWorldHint: true,
10
+ readOnlyHint: false,
11
+ },
7
12
  name: "Cancel All Orders",
8
13
  description: "Attempts to cancel all open orders. A response will be provided for each order that is attempted to be cancelled. If an order is no longer cancelable, the server reject the request, [See the docs](https://alpaca.markets/docs/api-references/trading-api/orders/#cancel-all-orders)",
9
14
  props: {
@@ -3,7 +3,12 @@ import app from "../../alpaca.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "alpaca-cancel-order",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
+ annotations: {
8
+ destructiveHint: true,
9
+ openWorldHint: true,
10
+ readOnlyHint: false,
11
+ },
7
12
  name: "Cancel Order",
8
13
  description: "Attempts to cancel an open order. If the order is no longer cancelable (example: status=`filled`), the server will reject the request, [See the docs](https://alpaca.markets/docs/api-references/trading-api/orders/#cancel-an-order)",
9
14
  props: {
@@ -3,7 +3,12 @@ import app from "../../alpaca.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "alpaca-close-all-positions",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
+ annotations: {
8
+ destructiveHint: true,
9
+ openWorldHint: true,
10
+ readOnlyHint: false,
11
+ },
7
12
  name: "Close All Positions",
8
13
  description: "Closes (liquidates) all of the account’s open long and short positions. A response will be provided for each order that is attempted to be cancelled. If an order is no longer cancelable, the server will reject the request, [See the docs](https://alpaca.markets/docs/api-references/trading-api/positions/#close-all-positions)",
9
14
  props: {
@@ -3,7 +3,12 @@ import app from "../../alpaca.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "alpaca-close-position",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
+ annotations: {
8
+ destructiveHint: true,
9
+ openWorldHint: true,
10
+ readOnlyHint: false,
11
+ },
7
12
  name: "Close Position",
8
13
  description: "Closes (liquidates) the account’s open position. Works for both long and short positions, [See the docs](https://alpaca.markets/docs/api-references/trading-api/positions/#close-a-position)",
9
14
  props: {
@@ -3,7 +3,12 @@ import app from "../../alpaca.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "alpaca-get-account-info",
6
- version: "0.0.1",
6
+ version: "0.0.3",
7
+ annotations: {
8
+ destructiveHint: false,
9
+ openWorldHint: true,
10
+ readOnlyHint: true,
11
+ },
7
12
  name: "Get Account Info",
8
13
  description: "Returns the account info, [See the docs](https://alpaca.markets/docs/api-references/trading-api/account/)",
9
14
  props: {
@@ -20,7 +25,7 @@ export default {
20
25
  $,
21
26
  isPaperAPI: this.isPaperAPI,
22
27
  });
23
- $.export("$summary", "Account info has been retreived.");
28
+ $.export("$summary", "Account info has been retrieved.");
24
29
  return response;
25
30
  },
26
31
  };
@@ -4,7 +4,12 @@ import { ConfigurationError } from "@pipedream/platform";
4
4
  export default {
5
5
  type: "action",
6
6
  key: "alpaca-list-orders",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  name: "List Orders",
9
14
  description: "Retrieves a list of orders for the account, filtered by the supplied query parameters, if no filter given all will be returned, [See the docs](https://alpaca.markets/docs/api-references/trading-api/orders/#get-a-list-of-orders)",
10
15
  props: {
@@ -3,7 +3,12 @@ import app from "../../alpaca.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "alpaca-list-positions",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
+ annotations: {
8
+ destructiveHint: true,
9
+ openWorldHint: true,
10
+ readOnlyHint: false,
11
+ },
7
12
  name: "List Positions",
8
13
  description: "Retrieves a list of the account’s open positions, [See the docs](https://alpaca.markets/docs/api-references/trading-api/positions/#get-open-positions)",
9
14
  props: {
@@ -4,7 +4,12 @@ import { ConfigurationError } from "@pipedream/platform";
4
4
  export default {
5
5
  type: "action",
6
6
  key: "alpaca-place-order",
7
- version: "0.1.0",
7
+ version: "0.1.1",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  name: "Place Order",
9
14
  description: "Places a new order for the given account. An order request may be rejected if the account is not authorized for trading, or if the tradable balance is insufficient to fill the order, [See the docs](https://alpaca.markets/docs/api-references/trading-api/orders/#request-a-new-order)",
10
15
  props: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/alpaca",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Pipedream Alpaca Components",
5
5
  "main": "alpaca.app.mjs",
6
6
  "keywords": [
@@ -10,7 +10,7 @@
10
10
  "homepage": "https://pipedream.com/apps/alpaca",
11
11
  "author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
12
12
  "dependencies": {
13
- "@pipedream/platform": "^1.6.0"
13
+ "@pipedream/platform": "^1.6.8"
14
14
  },
15
15
  "publishConfig": {
16
16
  "access": "public"