[Original HTML page](https://docs.algoway.trade/bitget-api.html)

dateModified: 2026-05-12T00:00:00+00:00  
datePublished: 2026-05-12T00:00:00+00:00  

# **How to Connect TradingView Alerts to Bitget with AlgoWay Webhook Automation**

<img src="https://docs.algoway.trade/static/img/blog-img/bitget-api@2x.jpg" style="margin-bottom: 1.5rem; width: 100%; height: auto;" data-fetchpriority="high" decoding="async" width="1280" height="731" alt="How to connect TradingView alerts to Bitget with AlgoWay webhook automation" />

**AlgoWay lets you connect TradingView alerts to Bitget through webhook automation.** You create a Bitget RSA API key, bind it to the AlgoWay IP address, configure trading permissions, create a Bitget webhook in AlgoWay, paste the AlgoWay webhook URL into TradingView, and send a valid JSON alert message.

This guide covers the complete TradingView-to-Bitget workflow, including RSA key generation, API permissions, IP binding, AlgoWay webhook setup, JSON alert configuration, testing and troubleshooting.

The execution route is:

``` text
TradingView alert -> AlgoWay webhook -> Bitget RSA API authentication -> Bitget order execution
```

TradingView creates the signal. AlgoWay receives and validates the webhook JSON. Bitget receives the final trading request through the RSA API credentials configured in AlgoWay.

Last updated: 2026-05-12 • Author: AlgoWay

**Contents**

- [Quick answer](https://docs.algoway.trade/bitget-api.html#quick-answer)
- [Why automate Bitget with TradingView alerts?](https://docs.algoway.trade/bitget-api.html#why-bitget)
- [Prerequisites](https://docs.algoway.trade/bitget-api.html#prerequisites)
- [Generate RSA keys](https://docs.algoway.trade/bitget-api.html#rsa)
- [Create Bitget API key](https://docs.algoway.trade/bitget-api.html#api)
- [Create Bitget webhook in AlgoWay](https://docs.algoway.trade/bitget-api.html#algoway)
- [Create TradingView alert](https://docs.algoway.trade/bitget-api.html#tradingview)
- [TradingView JSON message](https://docs.algoway.trade/bitget-api.html#json)
- [Testing and logs](https://docs.algoway.trade/bitget-api.html#logs)
- [Common problems](https://docs.algoway.trade/bitget-api.html#problems)

## Quick Answer: TradingView to Bitget with AlgoWay

To automate Bitget from TradingView, you need:

1.  a Bitget account with the required spot or futures market enabled;
2.  a Bitget RSA public/private key pair;
3.  a Bitget API key created in RSA mode;
4.  the AlgoWay IP address bound to the Bitget API key;
5.  the required Bitget permissions for the market you want to automate;
6.  an AlgoWay Bitget webhook;
7.  a TradingView alert with the AlgoWay webhook URL and valid JSON message.

After setup, a TradingView alert can be routed by AlgoWay to Bitget as an automated trading command.

## Why Automate Bitget with TradingView Alerts?

TradingView is often used for Pine Script strategies, indicators, chart analysis and alerts. Bitget is used for crypto spot and futures trading. AlgoWay connects these two systems with a webhook and API execution layer.

This is useful when you want to:

- turn TradingView strategy alerts into Bitget orders;
- automate Bitget futures or spot workflows;
- use structured JSON instead of manual order entry;
- avoid building your own TradingView-to-Bitget bot server;
- centralize webhook logs and execution responses in AlgoWay;
- run Bitget together with other AlgoWay-supported platforms.

AlgoWay does not create a profitable trading strategy. It automates the route after your strategy, indicator or manual TradingView alert sends the command.

## Prerequisites

Prepare the following before creating the Bitget webhook:

- Bitget account;
- AlgoWay account with access to the Webhooks dashboard;
- TradingView strategy, indicator or manual alert;
- TradingView plan with webhook alert support;
- AlgoWay IP address for API IP binding;
- Bitget RSA key generator;
- valid AlgoWay JSON message for your selected Bitget route.

**Security note:** bind the Bitget API key to the AlgoWay IP address and enable only the permissions required for your trading route. Do not create unnecessary permissions.

## Step 1. Generate Bitget RSA Keys

Bitget RSA API authentication uses a public/private key pair. The **public key** is pasted into Bitget when creating the API key. The **private key** is pasted into AlgoWay so AlgoWay can sign API requests.

Download the official Bitget RSA key generator from the Bitget GitHub release page:

<a href="https://github.com/BitgetLimited/api-rsa-generator/releases" target="_blank" rel="noopener noreferrer nofollow">Bitget API RSA Generator</a>

Generate a new key pair. A 2048-bit RSA key is recommended.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/bitgate-2.png" style="width:100%; border-radius:10px; margin:15px 0;" loading="lazy" decoding="async" width="1200" height="675" alt="Bitget RSA key generator window for public and private key pair" />
<figcaption>Generate the RSA public key and private key. Public key goes to Bitget. Private key goes to AlgoWay.</figcaption>
</figure>

**Important:** save the private key securely. AlgoWay needs it for Bitget API signing. If you lose it, create a new key pair and a new API key.

## Step 2. Create a Bitget API Key in RSA Mode

Log in to Bitget and open the API management section.

1.  Open **Account \>\> API keys**.
2.  Click **Create API key**.
3.  Select **User-generated API key (RSA)**.
4.  Paste the generated **Public Key**.
5.  Set a clear note such as `ALGOWAY-BITGET`.
6.  Create a **Passphrase**.
7.  Select the required API permissions.
8.  Bind the API key to the AlgoWay IP address.
9.  Complete Bitget security verification.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/bitgate-1.png" style="width:100%; border-radius:10px; margin:15px 0;" loading="lazy" decoding="async" width="1200" height="675" alt="Bitget API key type selection for RSA key setup" />
<figcaption>Select <strong>User-generated API key (RSA)</strong> for the AlgoWay Bitget connection.</figcaption>
</figure>

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/bitgate-3.png" style="width:100%; border-radius:10px; margin:15px 0;" loading="lazy" decoding="async" width="1200" height="675" alt="Bitget API creation form with RSA public key and passphrase" />
<figcaption>Paste the RSA public key, set a passphrase and configure the key note.</figcaption>
</figure>

### AlgoWay IP Binding for Bitget

For this setup, bind the Bitget API key to the AlgoWay server IP:

``` text
103.241.67.174
```

If the IP is missing or incorrect, AlgoWay will not be able to send authenticated Bitget API requests.

### Recommended Bitget API Permissions

| Permission                  | Use it?                    | Purpose                                                          |
|-----------------------------|----------------------------|------------------------------------------------------------------|
| Read                        | Yes                        | Required for account, balance, position and order status checks. |
| Futures Orders and Holdings | Yes for futures automation | Required for Bitget futures order and position workflows.        |
| Spot Trade                  | Only for spot automation   | Required only if your Bitget route uses spot trading.            |
| Withdraw                    | No                         | Not required for AlgoWay webhook trading automation.             |

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/bitgate-4.png" style="width:100%; border-radius:10px; margin:15px 0;" loading="lazy" decoding="async" width="1200" height="675" alt="Bitget API permissions and IP binding for AlgoWay" />
<figcaption>Bind the API key to the AlgoWay IP and enable only the required trading permissions.</figcaption>
</figure>

## Step 3. Verify the Created Bitget API Key

After Bitget creates the key, verify that all important settings are correct:

- API key type is **RSA**;
- AlgoWay IP is present in the IP binding field;
- permissions match your trading route;
- the passphrase is saved;
- the RSA private key is ready for AlgoWay.

<figure>
<img src="https://docs.algoway.trade/static/img/manuals/bitgate-6.png" style="width:100%; border-radius:10px; margin:15px 0;" loading="lazy" decoding="async" width="1200" height="675" alt="Created Bitget API key card with RSA type, IP binding and permissions" />
<figcaption>Check the final API key card before adding credentials to AlgoWay.</figcaption>
</figure>

## Step 4. Create a Bitget Webhook in AlgoWay

Now create the Bitget webhook in AlgoWay. This webhook becomes the bridge between TradingView alerts and Bitget execution.

1.  Open the **AlgoWay Dashboard**.
2.  Click **Add Trial Webhook** or **Add Main Webhook**.
3.  Select **TradingView** as the source.
4.  Select **Bitget** as the platform.
5.  Choose the market type: Futures or Spot.
6.  Choose the trade type according to your strategy.
7.  Enter the Bitget API key.
8.  Paste the RSA private key.
9.  Enter the Bitget passphrase.
10. Save the webhook.

After saving, AlgoWay gives you a unique webhook URL:

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

**Do not share your webhook URL publicly.** Treat it as a private execution endpoint.

## Step 5. Create a TradingView Alert for Bitget

After the Bitget webhook exists in AlgoWay, create the TradingView alert.

1.  Open the TradingView chart for the instrument you want to automate.
2.  Create an alert from your strategy, indicator or manual condition.
3.  Paste the JSON message into the alert message field.
4.  Open **Notifications**.
5.  Enable **Webhook URL**.
6.  Paste the AlgoWay webhook URL.
7.  Save the alert.

For bar-close strategies, use **Once per bar close** unless your logic intentionally requires intra-bar execution.

## Step 6. TradingView Webhook JSON for Bitget

TradingView must send valid JSON. AlgoWay expects structured fields, not plain text.

**Recommended TradingView strategy alert JSON:**

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

TradingView replaces these placeholders when the alert fires:

- `{{ticker}}` — chart ticker;
- `{{strategy.order.contracts}}` — strategy order size;
- `{{strategy.market_position}}` — strategy position state;
- `{{close}}` — close price at alert time.

### Fixed Test JSON

For a controlled test, use a fixed symbol and small valid size:

``` text
{
  "platform_name": "bitget",
  "ticker": "BTCUSDT",
  "order_contracts": 0.001,
  "order_action": "buy"
}
```

Use the minimum valid quantity for the selected Bitget market. If the order is rejected, check market type, product type, symbol format, quantity, margin and API permissions.

## Bitget Futures, Spot and Product Type Notes

Bitget supports different trading products. Your AlgoWay webhook and TradingView JSON must match the market you want to automate.

- **USDT-M Futures:** futures settled in USDT.
- **USDC-M Futures:** futures settled in USDC.
- **Coin-M Futures:** futures settled in cryptocurrencies.
- **Spot:** spot market trading.

Do not assume that a symbol valid in one market is valid in another. Check the exact Bitget market, product type, quantity rule and supported order behavior before using live size.

## Ticker Mapping for Bitget Automation

TradingView symbols and Bitget API symbols may not always match exactly. Before live automation, confirm:

- the TradingView chart ticker;
- the exact Bitget symbol;
- the market type: futures or spot;
- whether the contract is active and tradable;
- whether AlgoWay expects direct ticker value or mapped symbol.

If the webhook is received but the order is not placed, symbol mismatch is one of the first checks.

## Trade Type: Reverse, Hedge and Opposite Logic

Trade Type defines how AlgoWay handles a new signal when there is already an open position. This is important for Bitget futures automation.

- **Reverse:** useful when your strategy should manage one active direction according to the latest signal logic.
- **Hedge:** useful when long and short positions can exist separately, if the account and market support it.
- **Opposite:** useful when an opposite signal should close the current position and open the other side.

Full explanation: [How AlgoWay handles opposite trading signals](https://algoway.trade/blog/algoway-modes-article.html).

## Step 7. Test the Bitget Webhook and Check Logs

Before using live strategy size, send a small test alert.

1.  Send a test webhook from AlgoWay or fire a small TradingView test alert.
2.  Open **Webhook Logs** in AlgoWay.
3.  Confirm the received JSON payload.
4.  Confirm the outgoing Bitget order response.
5.  Open Bitget **Orders** or **Positions**.
6.  Confirm symbol, size and direction.

If the order is not created, check the exact error in AlgoWay logs before changing your TradingView strategy.

## Common Bitget Webhook Problems

### Wrong API Key Type

Use the RSA API key type required by this AlgoWay route. If a normal secret-key API is used when RSA is expected, authentication can fail.

### Private Key Does Not Match Public Key

The private key entered into AlgoWay must match the public key used in Bitget. If the pair does not match, API signing fails.

### Wrong Passphrase

The passphrase in AlgoWay must be the same passphrase created for the Bitget API key.

### IP Binding Is Missing or Wrong

The Bitget API key must include the AlgoWay IP address. If the IP binding is wrong, Bitget can reject the request.

### Missing Futures or Spot Permission

Enable the permissions required for the selected market. Futures automation needs futures order/position permissions. Spot automation needs spot trade permission.

### Wrong Market Type

A spot symbol and a futures symbol are not the same route. Match Bitget product type, AlgoWay market type and TradingView ticker.

### Invalid JSON

TradingView must send valid JSON. Broken commas, missing quotes or plain text messages can stop the automation before Bitget execution.

### Invalid Quantity

The order size must satisfy Bitget market minimums and quantity steps. Test with a minimal valid size first.

## Why Use AlgoWay Instead of Building a TradingView to Bitget Bot?

You can build your own TradingView-to-Bitget bot. That requires a public webhook endpoint, server hosting, JSON validation, Bitget RSA API signing, order endpoint integration, symbol mapping, market type handling, logs, errors and ongoing monitoring.

AlgoWay gives you a ready automation route:

- TradingView webhook receiver;
- structured JSON workflow;
- Bitget RSA API credential routing;
- dashboard-based webhook setup;
- logs for payloads and execution responses;
- support for multiple brokers and exchanges;
- trade modes and risk-aware execution logic.

This makes AlgoWay a no-code **TradingView to Bitget webhook connector** for traders who want crypto automation without maintaining their own API server.

## Related AlgoWay Guides

- [How to automate TradingView alerts to any broker with AlgoWay](https://algoway.trade/blog/automate-tradingview-alerts-to-any-broker-with-algoway.html)
- [How to create a webhook in TradingView](https://docs.algoway.trade/guide-to-creating-a-webhook-in-tradingview.html)
- [AlgoWay JSON schema guide](https://algoway.trade/blog/json-schema-guide.html)
- [How to fix AlgoWay webhook Error 415](https://algoway.trade/blog/algoway-415.html)
- [How to connect TradingView to BingX with AlgoWay](https://docs.algoway.trade/bingx-api.html)
- [How to connect TradingView to Binance with AlgoWay](https://docs.algoway.trade/algoway-binance-integration-guide.html)
- [How to connect TradingView to Bybit with AlgoWay](https://docs.algoway.trade/algoway-bybit-integration-guide.html)
- [How to connect TradingView to Gate.io with AlgoWay](https://docs.algoway.trade/algoway-gateio-integration-guide.html)
- [How to copy TradingView alerts to multiple accounts](https://algoway.trade/blog/algoway-tradecopier-for-diversification-trading.html)

## Final Summary

To automate Bitget from TradingView, generate an RSA key pair, create a Bitget RSA API key, bind the AlgoWay IP address, enable the correct trading permissions, create a Bitget webhook in AlgoWay, and send valid TradingView JSON to the AlgoWay webhook URL.

**AlgoWay turns TradingView alerts into Bitget webhook automation without forcing you to build and maintain your own crypto trading bot infrastructure.**

## Frequently Asked Questions

### Do I need a VPS or to keep my computer on for automated trading?

Absolutely not. AlgoWay is a cloud-based service with centralized signal processing and order routing. You do not need a VPS, an always-on computer, or a locally running trading app. Your TradingView alerts continue to work even when your computer is shut down.

## Related TradingView Integration Guides

Explore step-by-step webhook setup guides for other supported trading platforms.

- [Connect TradingView to Hyperliquid with webhook automation](https://docs.algoway.trade/how-to-connect-tradingview-to-hyperliquid-via-algoway.html)
- [Connect TradingView to OKX with webhook automation](https://docs.algoway.trade/okx-api.html)
- [Connect TradingView to BingX with webhook automation](https://docs.algoway.trade/bingx-api.html)
- [Connect TradingView to MEXC with webhook automation](https://docs.algoway.trade/mexc-api.html)

Published: May 12, 2026 Last updated: May 12, 2026
