A webapp that triggers a new trade by calling 3commas API when you get a "BUY" signal from some Telegram channel. For example, you may follow some Trading strategies from coinmatics by subscribing to the Telegram bot. You would like to execute trades automatically then you don't need to track the Telegram message all the time. Furthermore, With the help of 3commas, You may place more advanced trade like setting Stop-loss price and Target price at the same time, etc.
- Create a virtualenv
python3 -m venv .venv
- Initiate the virtualenv
source .venv/bin/activate
. - Install the packages
pip install -r requirements.txt
. - Run
python3 routes.py
in root directory. - Open
http://localhost:5000/
in your browser - fill out the account INFO Form and click trade
-
Prepare your Telegram bot authentication token, following here Telegram bots to generate one.
-
Open the WEB APP, fill in the Signup form to link your 3commas account API and Telegram bots, including the Telegram channel which you are going to track to trigger the trade
- Click TRADE button then it will follow your dedicated Telegram channel in the background. Once there are some signals coming then it will execute a new tarde with the relevant Crypto Coin.
As an example, this test Telegram Channel is tracked and get the "BUY" signal
it will trigger a new trade by calling 3commas API automatically, like this one
- Telegram ID - christhai_wu