Free

Webhook Relays

Use webhook relays to trigger Alpha.bot commands with external events like TradingView alerts or custom trading systems. By simply creating a webhook in Discord and creating a new webhook relay in community settings, you can trigger any Alpha.bot command with a simple HTTP request.

Setup

Start by opening Discord an navigating to your Discord server. Create a new webhook in the channel you want to send data to, and copy its URL.

Next, go to the community dashboard and open the settings page of your Discord server. Select the Webhooks tab at the top of the page, and then click on the plus () button to create a new webhook. Fill in the form with all relevant information, including selecting the command you want to run when triggered. Make sure to paste the webhook URL you copied earlier into the Discord webhook URL field. When you're done, click on the Create button.

Once the webhook relay has been created, you will be shown a new webhook URL. This is the URL you will use to send requests to. You can now use this URL to trigger any Alpha.bot command with a simple HTTP request.

Usage

To trigger a command with a webhook relay, you will need to send a POST request to the webhook URL with. The body of the request should be a string containing the command you want to trigger. For example, if you want to trigger the /c aapl 5min command, you would send a body containing aapl 5min. Including any other information will cause the command to fail.

If you plan on using TradingView alerts to trigger commands, simply copy the webhook relay URL (the one pointing to www.alpha.bot) into the Webhook URL field in the alert settings. You can then use the {{ticker}}, {{exchange}} and {{interval}} variables in the alert message to automatically fill in the ticker, exchange and timeframe arguments.

You're only allowed to send one request to each webhook every 5 minutes to prevent abuse. You're also limited to 25 webhook relays per community. If you need higher limits, please contact us via Discord.