SignalStack can capture incoming alerts from TrendSpider and automatically convert them into executed orders in the connected brokerage or cryptocurrency exchange account. In this documentation, we will explore steps to bridge TrendSpider and SignalStack for automated order execution.
Step 1: Begin by logging into your Signal Stack account. Connect your brokerage account, then copy the provided webhook URL. You’ll need this webhook to integrate with your TrendSpider Alerts. Refer to the screenshot below for guidance.
Step 2: Click on the Profile Icon from the top-right corner of the interface and select Account & Settings from the drop-down list.
Step 3: Paste the webhook URL that was copied from SignalStack, with respect to the connected broker or exchange, and paste it into the "Webhook URL" as shown below.
Step 4: Define the webhook payload in the “Your Note” field while creating the alert whether (Dynamic Alert or Multi-Factor Alert). The webhook payload should be expressed in JSON.
Webhook payload example:
{
"symbol": "TSLA",
"action": "buy",
"quantity": 1
}
Writing webhook payload while creating a Dynamic Alert:
Writing webhook payload while creating a Multi-Factor Alert:
When TrendSpider generates the alerts upon the fulfillment of the specified events and conditions, the real-time notifications are triggered and sent to SignalStack via the Webhook connection configured. SignalStack will automatically convert the signals into executed orders in your connected brokerage or cryptocurrency exchange account. For detailed guidance on building TrendSpider webhook alerts, please refer to our Webhook documentation. To learn how to construct valid JSON parameters for sending orders to your broker via webhook, visit Signal Stack’s Documentation (JSON) Builder. Keep in mind that each broker may have different requirements for the JSON payload, so be sure to follow their specific guidelines. You can see these guidelines on this page below the 'Playground' section.