SignalStack can capture incoming alerts from TrendSpider's Trading Bots 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 via the use of Trading Bots from TrendSpider.
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 Trading Bot. Refer to the screenshot below for guidance.
Step 2: Sign in to your TrendSpider account and create a trading bot by clicking the 3 dots next to Alerts&Bots on the top toolbar and select "create trading bot".
Step 3: 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 from Step 1, with respect to the broker or exchange. |
Exit Webhook URL | Paste the webhook URL generated by SignalStack from Step 1, 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. |
Behavior Settings | These settings determine the bot's behavior in certain corner cases. |
Step 4: Once you have configured your trading bot, click on the "Create Bot" button to complete setting up the trading bot and automate the order execution.
For detailed guidance on building TrendSpider bots, please refer to our Trading Bots 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.
As soon as the TrendSpider Bot identifies the entry or exit trade signals, notifications are sent to SignalStack via the configured Webhook connection. SignalStack will automatically convert the signals into executed orders in your connected brokerage or cryptocurrency exchange account.