Skip to content

๐Ÿ“Š A Python bot for automated crypto market analysis using RSI, MACD, Bollinger Bands, Fibonacci, and candle patterns. Sends trading signals to Telegram hourly. Designed for deployment on Render.com with background worker support.

Notifications You must be signed in to change notification settings

mfzhang/nira-trading-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ˆ Nira Trading Bot

A fully automated technical analysis bot for cryptocurrency markets (BTC-USD), designed to analyze market data using multiple indicators and send trading signals directly to a Telegram channel.

Built with โค๏ธ by Nira Intelligence


โš™๏ธ Features

  • ๐Ÿ“Š Indicators: RSI, MACD, Bollinger Bands, Fibonacci levels, Candle patterns
  • ๐Ÿ•ฐ Multi-Timeframe Analysis: 1H, 4H, 1D trends
  • ๐Ÿง  Scoring System: Combines indicator scores to determine final trading signal
  • ๐Ÿ”” Signal Output: Sends formatted messages via Telegram
  • ๐Ÿ“‰ Volume Analysis: Detects volume spikes and price-volume divergence
  • ๐Ÿ“ TP/SL Calculation: Based on ATR (Average True Range)
  • โ™ป๏ธ Runs Continuously every hour (with time.sleep(3600))

๐Ÿš€ Deployment on Render.com

This bot is designed to run as a background worker on Renderโ€™s free plan.

๐Ÿ“ Project structure:

nira-trading-bot/
โ”œโ”€โ”€ main.py               โ† main logic and loop
โ”œโ”€โ”€ requirements.txt      โ† dependencies (ta, yfinance, etc.)
โ””โ”€โ”€ render.yaml           โ† Render config for background execution

๐Ÿ›  Setup steps:

  1. Fork or clone this repository.
  2. Connect your GitHub account to Render.
  3. Create a New Background Worker and select this repo.
  4. Render will automatically detect the render.yaml file and configure the build.
  5. Set your environment variables in Render:
    • TELEGRAM_TOKEN
    • CHAT_ID

๐Ÿ“ฌ Example Output (Telegram)

๐Ÿ“Š BTC MARKET SUMMARY
๐Ÿ—“๏ธ Time: 2025-06-04 - 14:00:00
๐Ÿ’ฐ Price: $67,120.40

๐Ÿ“ˆ Trends
1H: Uptrend
4H: Sideways
1D: Downtrend
Trend Score: 0

๐Ÿ“Š Indicators
Candle: Hammer โ†’ +1
RSI: 31.21 โ†’ Neutral โ†’ 0
MACD: 0.45 | Sig: 0.37 โ†’ Bullish โ†’ +1
BB: At Lower Band โ†’ +1

๐Ÿ“ Fibonacci
๐Ÿ”น 38.2%: 66210.54
โš ๏ธ Price is near Fibonacci level 38.2%
Fib Score: +1

๐Ÿ”Š Volume
๐Ÿ”บ Volume Spike: 2.14x above average
โœ… Price rising with volume (bullish confirmation)
Volume Score: +1

๐ŸŽฏ Trade Setup
Entry: $67,120.40
TP: $68,520.20
SL: $65,920.80

๐Ÿงฎ Total Score: 5
๐Ÿšฆ Final Signal: โœ… STRONG BUY

๐Ÿ’ก Notes

  • Runs hourly via internal loop
  • Fully customizable scoring logic
  • Can be extended to support multiple symbols (e.g., ETH-USD, BNB-USD)
  • Easily adaptable for local or VPS deployment

๐Ÿ“ฅ Contact

For support or customization, reach out via Telegram @NiraSignal

About

๐Ÿ“Š A Python bot for automated crypto market analysis using RSI, MACD, Bollinger Bands, Fibonacci, and candle patterns. Sends trading signals to Telegram hourly. Designed for deployment on Render.com with background worker support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages