Skip to content

scripting-drafts/Trading-Automation

Repository files navigation

High Risk Auto Trade

Trading automation with Binance through Telegram, with the help of Coingecko

How does it work

  • Generate symbols.yaml
  • Run the bot
  • Keep usdc_symbol_updater on

Momentum Detection

The function has_recent_momentum() requires positive price changes on 1m, 5m, and 15m candles (default: +0.3%, +0.6%, +1.0%).

Entry

The bot will consider buying only if all these timeframes show strong upward movement. This is like what’s shown on the chart—buying during the clear uptrend.

Auto-Sell

The bot uses both trailing stop logic and a maximum hold time, so if the price reverses sharply (like those red candles after the top in the image), the bot should try to exit quickly.

Example

Summary

If the trend is very short (just 2-3 candles), the bot might enter late or get faked out.

If a strong reversal happens quickly (as in the sharp red drop), the trailing stop might trigger and exit, but very fast drops can result in some slippage.

File Name Description
high_risk_autotrade.py Main bot (do NOT import/run in Streamlit!)
streamlit_dashboard.py Dashboard ONLY
secret.py API Keys
bot_state.json Shared state file
usdc_symbol_updater.py Fetches USDC crypto state
symbols.yaml USDC cryptos state

Requirements: pip install python-telegram-bot==13.7

About

With Binance and Telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages