SignalStack can capture the incoming alerts from TrendSpider and convert them into executed orders in the connected brokerage or cryptocurrency exchange account automatically.
TrendSpider can be configured to send an HTTP POST request to SignalStack through:
In this documentation, we will explore steps to bridge TrendSpider and SignalStack for automated order execution.
Let’s get started 🚀
Webhook Alerts
Configure TrendSpider alert with the copied webhook address so that the signals it generates when the defined conditions are triggered, can be captured by SignalStack.
Step 1: Click on the Profile Icon from the top-right corner of the interface and select Account & Settings from the dropdown list.
Step 2: Copy the webhook address generated in SignalStack, with respect to the connected broker or exchange, and paste it into the "Webhook URL" as shown below.
Step 3: 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": "AAPL",
"action": "buy",
"quantity": 1
}
Writing webhook payload while creating a Dynamic Alert:
Writing webhook payload while creating a Multi-Factor Alert:
For more information on webhook alerts, please refer to this TrendSpider documentation - Webhook
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.
Trading Bot
TrendSpider allows you to create a strategy and launch a trading bot with zero coding knowledge. SignalStack can capture the incoming signals generated by TrendSpider Bot and convert them into executed orders in the connected brokerage or cryptocurrency exchange account automatically.
Configure TrendSpider Bot with the copied webhook address so that the entry or exit trade signals it generates, can be captured by SignalStack.
Step 1: Sign in to your TrendSpider account and configure your trading bot by entering the relevant values in the following fields:
Fields | Interpretation |
---|---|
Bot Name | Provide a name for your trading bot. |
Strategy | Select a bot backtesting strategy from the dropdown. |
Time Frame | Select the time frame for which you want the trading bot to check the criteria. |
Notification Method | Select Webhook to send HTTP POST requests to the webhook you provide. |
Entry Webhook URL | Paste the webhook URL generated by SignalStack, with respect to the broker or exchange. |
Exit Webhook URL | Paste the webhook URL generated by SignalStack, with respect to the broker or exchange. |
Entry Webhook Body | The entry webhook contains information that is sent when a particular event, such as a trade or alert, commences. This information may include instructions, like a signal to initiate a trade by buying. Webhook payload example:{ "symbol": "AAPL", " action": "buy", "quantity": 1 } |
Exit Webhook Body | When the action started by the entry webhook is done the exit webhook provides the details of selling or closing the trade. Webhook payload example:{ "symbol": "AAPL", "action": "sell", "quantity": 1 } |
Control Notifications | Select a control notification type from the drop-down. |
Step 2: Click on the "Create Bot" button to complete setting up the trading bot and automate the order execution.
For more information on creating TrendSpider bots, please refer to this documentation - Trading Bots.
As soon as the TrendSpider Bot identifies the entry or exit trade signals, the notifications are 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.