@pipedream/white_swan 0.1.0 → 0.2.0

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 ADDED
@@ -0,0 +1,11 @@
1
+ # Overview
2
+
3
+ The White Swan API provides predictive analytics for mitigating risks in financial portfolios using artificial intelligence. By leveraging the White Swan API in Pipedream, you can automate the process of gathering insights, monitoring market conditions, and integrating advanced risk analysis into your existing financial systems. With Pipedream's serverless platform, you can construct workflows to react in real-time to data from White Swan, send alerts, and even automate trades or adjustments based on risk thresholds or predictive signals.
4
+
5
+ # Example Use Cases
6
+
7
+ - **Automated Risk Alerts**: Use White Swan's predictive analytics to monitor portfolio risk and set up a Pipedream workflow that sends you real-time notifications via email, SMS, or Slack when certain risk thresholds are crossed. This immediate feedback allows you to take swift action to mitigate potential losses.
8
+
9
+ - **Dynamic Portfolio Rebalancing**: Create a Pipedream workflow that automatically triggers a rebalancing of your investment portfolio using White Swan's risk predictions. Integrate with a trading platform like Alpaca to execute trades that align your portfolio with the desired risk profile, based on the latest AI-driven insights.
10
+
11
+ - **Market Sentiment Analysis**: Combine White Swan's market sentiment data with sentiment analysis from Twitter or news sources using Pipedream. Correlate the different sentiment indicators and use the results to adjust your investment strategy, or to feed into machine learning models for more nuanced decision-making.
@@ -6,7 +6,12 @@ export default {
6
6
  key: "white_swan-create-pre-fill-info",
7
7
  name: "Create Pre-fill Info",
8
8
  description: "Imports client data for pre-filling applications to enrich the user experience. [See the documentation](https://docs.whiteswan.io/partner-knowledge-base/api-documentation/action-calls/create-pre-fill-information)",
9
- version: "0.0.1",
9
+ version: "0.0.2",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  whiteSwan,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "white_swan-get-referred-clients-info",
5
5
  name: "Get Referred Clients Info",
6
6
  description: "Retrieves information about clients referred from the user's White Swan account. [See the documentation](https://docs.whiteswan.io/partner-knowledge-base/api-documentation/information-calls/referred-client-s)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: true,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  whiteSwan,
@@ -0,0 +1,24 @@
1
+ import white_swan from "../../white_swan.app.mjs";
2
+
3
+ export default {
4
+ key: "white_swan-list-client-email-options",
5
+ name: "List Client Email Options",
6
+ description: "Retrieves available options for the Client Email field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ white_swan,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await white_swan.propDefinitions.clientEmail.options.call(this.white_swan);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -6,7 +6,12 @@ export default {
6
6
  key: "white_swan-submit-complete-plan-request",
7
7
  name: "Submit Complete Plan Request",
8
8
  description: "Creates a new comprehensive quote request based on the information provided and generates the final quotation without further data requirements. [See the documentation](https://docs.whiteswan.io/partner-knowledge-base/api-documentation/action-calls/submit-complete-plan-request)",
9
- version: "0.0.1",
9
+ version: "0.0.2",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  whiteSwan,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/white_swan",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Pipedream White Swan Components",
5
5
  "main": "white_swan.app.mjs",
6
6
  "keywords": [
@@ -13,7 +13,7 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "@pipedream/platform": "^1.6.0",
16
+ "@pipedream/platform": "^1.6.8",
17
17
  "md5": "^2.3.0"
18
18
  }
19
19
  }