How to Connect TradingView Alerts to Bybit via AlgoWay

AlgoWay Bybit integration guide

This guide explains how to connect Bybit to AlgoWay, create a system-generated Bybit API key, configure a Bybit webhook inside AlgoWay, and send TradingView alerts using the correct JSON format.

The setup has three main parts: create Bybit API credentials, add the Bybit webhook in AlgoWay, and configure your TradingView alert with the AlgoWay webhook URL and message body.

Step 1: Select System-generated API Keys

Start from the Bybit API management page and create a new API key. When Bybit asks for the API key type, select System-generated API Keys.

Important: do not select Self-generated API Keys for this setup. AlgoWay uses the standard Bybit API Key and API Secret.

Select system-generated API keys in Bybit

Step 2: Create a Bybit API Key

On the API key creation page, create a dedicated API key for AlgoWay.

  1. Select API Transaction.
  2. Enter a clear name for the API key, for example algoway.
  3. Select Read-Write.
  4. Select Only IPs with permissions granted are allowed to access the OpenAPI.
  5. Enter the AlgoWay IP address shown in your AlgoWay dashboard.

Enable the trading permissions required for your setup:

  • Orders
  • Positions
  • USDC Derivatives Trading
  • Trade
  • Unified Trading
  • SPOT, if you also plan to route spot orders

After selecting the required permissions, click Submit.

Create Bybit API key for AlgoWay

Step 3: Complete Security Verification and Save the API Secret

Bybit will ask you to complete security verification. Enter the email verification code and your Google 2FA code, then continue.

After the key is created, Bybit will show the API Key and API Secret. Copy both values immediately.

Important: Bybit shows the API Secret only once during key creation. Save it before closing the window.

Bybit security verification and API secret

Step 4: Add Bybit Webhook in AlgoWay

After the API key is ready, log in to AlgoWay and create a Bybit webhook. This webhook is the bridge between TradingView alerts and Bybit execution.

  1. Log in to your AlgoWay account.
  2. Click Add Trial Webhook or Add Main Webhook.
  3. Select the webhook type:
    • Start 14-Day Trial
    • Main Paid Webhook
  4. Fill in the Bybit webhook form.

The main fields are:

  • Source: TradingView
  • Platform: Bybit
  • Quantity Multiplier: Absolute
  • Market Type: Futures/Perpetual
  • Margin Mode: Cross or Isolated
  • Trade Type: Hedge/Dual side or the mode you use
  • Account Type: Live
  • API Key: paste your Bybit API Key
  • API Secret: paste your Bybit API Secret

Then click Add Trial Webhook or Add Main Webhook.

Configure Bybit webhook settings in AlgoWay

Step 5: Create TradingView Strategy Alert

If you are using a TradingView Strategy, paste the following JSON into the TradingView alert message:

{
  "platform_name": "bybit",
  "ticker": "{{ticker}}",
  "order_contracts": "{{strategy.order.contracts}}",
  "order_action": "{{strategy.market_position}}",
  "price": "{{close}}"
}

TradingView will automatically replace the placeholders with real strategy values when the alert is triggered:

  • {{ticker}} — chart ticker
  • {{strategy.order.contracts}} — strategy order size
  • {{strategy.market_position}} — current strategy position
  • {{close}} — current close price
TradingView Bybit strategy alert JSON

Step 6: Indicator Alerts and Manual Alerts

If you are using an indicator alert instead of a TradingView Strategy alert, you do not have to write the JSON manually.

For indicator-based alerts, use one of the tools available in the AlgoWay Dashboard menu:

  • Message Wizard: helps you build a valid AlgoWay webhook message manually.
  • AlgoWay AI: helps convert a text signal into a valid AlgoWay JSON message.

This is useful when your indicator sends a custom text alert instead of strategy placeholders such as {{strategy.order.contracts}}.

Step 7: Add the AlgoWay Webhook URL in TradingView

In the TradingView alert window, open the Notifications tab, enable Webhook URL, and paste your AlgoWay webhook link.

Your webhook URL will look like this:

https://algoway.co/your-webhook-uuid

Click Apply or Create to save the alert.

Paste AlgoWay webhook URL into TradingView for Bybit

Key takeaway

To automate Bybit through AlgoWay, you need a system-generated Bybit API key, the correct trading permissions, a properly configured Bybit webhook in AlgoWay, and a correct TradingView JSON alert. Once these parts are set correctly, TradingView alerts can be routed directly to Bybit through AlgoWay.

Need help? Contact support via your AlgoWay dashboard.