🤝🏻 Cooperation-Script:💵How to Quickly Create an Automated Script for Trading with GMGN Bot
Last updated
Last updated
Note: This tutorial requires some programming skills and knowledge of network security to avoid Telegram account theft.
You can use the Telegram API to automatically send token contract addresses to the GMGN Sniper Bot, enabling immediate buying and selling, as well as creating limit buy/sell orders.
Suitable scenarios include:
Monitoring smart money signals for automatic buying and limit sell orders
Monitoring on-chain trading signals and CTO signals for automatic buying and limit sell orders
Join the signal group at https://t.me/gmgnsignals
Receive specialty signal messages (10+ signals available, more are in development):
CTO Signal
Update DEX Screener Social Infos
PUMP Update DEX Screener Social Infos
PUMP FDV Surge
Solana FDV Surge
Smart Money FOMO
KOL FOMO
DEV Burnt Alert
All Time High Price
Heavy Bought
Sniper New
Visit the GMGN.AI Smart Money leaderboard to find high win-rate smart money that matches your trading style at https://gmgn.ai/discover/?chain=sol
Log in at https://my.telegram.org/auth
Create a Telegram app, fill out the form, and obtain the app’s api_id and api_hash (Note: Do not disclose these to any third parties to prevent Telegram account theft). For detailed instructions, refer to the official Telegram documentation at https://core.telegram.org/api/obtaining_api_id
You need to write an automation script or search for open-source projects on github.com with similar functionality (Note: Assess code security to avoid Telegram account theft).
Automation script code logic:
Use the api_id and api_hash obtained above to receive messages from the GMGN signal group or get trading signals from other channels/groups, or monitor smart money on-chain transactions (e.g., subscribe to a paid plan from a Solana RPC provider like Alchemy to use WebSocket for monitoring specified wallet transactions).
Based on the received signal messages, create your own token filtering conditions and trading strategies (extract token contract address).
Send trading commands to GMGN Sniper Bot:
Method 1 (Simpler, faster): Send the token contract address. You need to enable the automatic buy and sell features of the GMGN Sniper Bot first (pre-set stop-loss and take-profit orders; when buying, it will automatically place a limit sell order). — This feature is in development and will be available soon.
Method 2 (More flexible parameters): Send trading commands, such as immediate buy/sell or creating limit buy/sell orders. The trading commands are as follows:
It is recommended to start with a small amount to test your trading strategy.
If you are interested in automated trading strategies, feel free to join the GMGN official group for discussions at https://t.me/gmgnai