top of page

How to setup your Auto-trade Execution & Development Environment?

Welcome to this tutorial on setting up your Auto-Trade Execution & Development Environment using TradingView, Sentrix, Hyperforge, GitHub, Vercel, PyCharm, Telegram, and Gate.io. This setup will allow you to automate your trading strategies and seamlessly integrate them into a real-world environment. By the end of this guide, you’ll have a fully functional auto-trading system that executes trades on Gate.io based on your TradingView signals.


Let’s get started!


Step 1: Setting Up Sentrix on TradingView

Sentrix is a powerful adaptive trading indicator engine that runs on TradingView and sends alarms when specific conditions are met. First, we need to configure Sentrix to send these alarms to a webhook URL.

  • Log into your TradingView account at www.tradingview.com.


  • Search for the Sentrix Indicator in the TradingView Script Library and add it to your chart.


  • Configure Sentrix according to your desired trading strategy (e.g., set it to signal a buy or sell based on specific indicators).


  • Under the Sentrix settings, find the webhook URL option. For now, leave this empty—we will return to this after we’ve deployed our Vercel app.


Step 2: Editing Hyperforge Python Code in PyCharm

Hyperforge is an open-source Python-based auto-trade execution tool that receives TradingView alarms via webhook and executes the corresponding trades on Gate.io. You’ll need to edit the Hyperforge code to suit your trading needs and integrate your Telegram bot for notifications.

  • Clone the Hyperforge repository from GitHub to your local machine:


  • Open PyCharm (or any preferred IDE) and load the Hyperforge project into it.

  • Edit the Python code to customize it for your trading strategy:

    • Modify the sections related to trade execution, stop-loss, and profit-taking logic to suit your needs.

    • Telegram Bot Integration: Embed your Telegram bot's API details into the code. This will allow you to receive real-time notifications when the bot executes a trade. You can create a Telegram bot by following the guide on BotFather.

  • Once the code is customized, test it locally to ensure it works as expected.


Step 3: Load Hyperforge into a Private GitHub Repository

Once your Hyperforge code is edited and ready for deployment, it needs to be uploaded to your GitHub Private Repository.

  • If you don’t already have one, create a private repository on GitHub.

  • Push your customized Hyperforge code to this private repository:

    bash

    Copy code

    git add . git commit -m "Initial Commit of Hyperforge" git push origin main


Step 4: Deploy Hyperforge on Vercel

Now that your code is in GitHub, it’s time to deploy it using Vercel. Vercel will host your auto-trading logic in the cloud, making it accessible from anywhere, including by TradingView.

  • Go to Vercel and log in (or create an account if you don’t have one).

  • Click on New Project and select your private GitHub repository containing the Hyperforge code.


  • Follow the prompts to deploy the repository. Vercel will automatically create a live web app.



  • After the deployment is complete, copy the Vercel app's URL—this will be your Webhook URL.


Step 5: Linking Sentrix with Vercel via Webhook URL

Now that your Vercel app is live, we need to configure Sentrix to send trading signals to this URL.

  • Return to TradingView and the Sentrix settings.


  • Under the Webhook URL field, paste the URL of your deployed Vercel app (e.g., https://your-vercel-app-url.vercel.app/api/trade).

  • Save the settings. Now, whenever Sentrix triggers a buy/sell signal, it will send the alert to your Vercel-deployed Hyperforge app, which will execute the trade.


Step 6: Setting Up Gate.io as the Exchange

The trades will be executed on Gate.io, a cryptocurrency exchange platform.

  1. Log into Gate.io:



  2. Deposit Funds into Gate.io:





  1. Onchain Deposit:





  2. Select Network:



Step 7: Telegram Bot Notifications

By now, your Hyperforge setup should also include Telegram bot integration.

  1. After creating your Telegram bot (step 2), input the bot’s API key and chat ID into the appropriate sections of your Hyperforge code.

  2. Every time a trade is executed, Hyperforge will send you a notification through Telegram, detailing the trade execution, stop-losses, profit targets, and more.


Step 8: Testing the Entire Workflow

Before you begin live trading, it’s important to test the entire workflow to ensure everything is working smoothly.

  1. Set up a test signal on TradingView to trigger Sentrix and send an alarm.


  2. Ensure that the alarm reaches your Vercel app and the trade is executed on Gate.io.


  3. Check if your Telegram bot sends a notification after the trade is executed.



Note: Binance to Gate.io USDT Transfer

Conclusion

By following these steps, you’ve now successfully set up your own Auto-Trade Execution & Development Environment using TradingView, Sentrix, Hyperforge, GitHub, Vercel, PyCharm, Telegram, and Gate.io. This powerful automated system allows you to execute trades with precision, while also receiving real-time notifications and maintaining control over your strategy development.

Stay tuned for more tutorials as we continue to unlock the potential of SentinelALGO!


References

[1] Hyperforge Autotrade Dev Kit : Aphexion Github Hyperforge Page

Try SentinelALGO™ Free for Your First Week

Thanks for your interest.

A notification email containing your registration details is being sent to you now.


We will be giving access within 24 hours.

image.png

Pioneering the Future of Trading

image.png
image.png

SentinelALGO™ is a member of Fintech AI Alliance

© 2024-2025 All Rights Reserved

SentinelALGO™ productline by Aphexion Fintech Group

bottom of page