Automated Crypto Paper Trading System built with n8n, PostgreSQL, Google Sheets, Telegram, and Binance Market Data.
Status: Paper Trading Mode β Live Trading: Disabled β Strategy: EMA + RSI + ADX Trend Following
CryptoPilot AI Trader is an automated crypto trading workflow designed to:
- Scan major crypto pairs
- Detect trend-following setups
- Manage risk automatically
- Log every signal and trade
- Send Telegram alerts
- Maintain trading analytics
- Operate in Paper Trading Mode
The system currently scans:
- BTCUSDT
- ETHUSDT
- SOLUSDT
- BNBUSDT
every 15 minutes.
Binance Market Data
β
βΌ
Indicator Engine
(EMA, RSI, ADX, ATR)
β
βΌ
Signal Evaluation
β
βΌ
Risk Management
β
βΌ
Paper Trading Engine
β
ββββββββΌββββββββββ
βΌ βΌ βΌ
Google PostgreSQL Telegram
Sheet Database Alerts
- n8n
- Binance Public API
- PostgreSQL (Neon)
- Google Sheets
- Telegram Bot API
- n8n Cloud
- Self Hosted n8n
- VPS Deployment
Trigger LONG when:
EMA21 > EMA50
Price > EMA200
RSI > 52
ADX > 20
Trigger SHORT when:
EMA21 < EMA50
Price < EMA200
RSI < 48
ADX > 20
15 Minute
EMA21
EMA50
EMA200
RSI14
ADX14
ATR14
1% of account balance
3
3%
1.5 Γ ATR
Profit reaches 1R
β
Move SL to Breakeven
Profit reaches 2R
β
Move SL to +1R
Profit reaches 3R
β
Move SL to +2R
Use ATR Based Trailing Stop
Trailing Distance = 2 Γ ATR
| Column |
|---|
| Date |
| Time |
| Symbol |
| EMA21 |
| EMA50 |
| EMA200 |
| RSI |
| ADX |
| ATR |
| Signal |
| Reason |
| Status |
| Column |
|---|
| TradeID |
| Date |
| Time |
| Symbol |
| Direction |
| EntryPrice |
| InitialSL |
| CurrentSL |
| ExitPrice |
| ATR |
| RSI |
| ADX |
| ProfitLoss |
| RMultiple |
| Result |
| Status |
| Notes |
| Column |
|---|
| Date |
| TotalTrades |
| Wins |
| Losses |
| WinRate |
| ProfitLoss |
| MaxDrawdown |
| ProfitFactor |
Stores all generated signals.
Stores all paper trades.
Stores daily trading statistics.
The system sends alerts when:
π CryptoPilot AI Trader Online
π New Signal
Symbol: BTCUSDT
Direction: LONG
RSI: 62
ADX: 28
Mode: PAPER
β
Paper Trade Opened
π₯ Trailing Stop Moved
β
Paper Trade Closed
Cron Trigger
β
Fetch Candle Data
β
Calculate Indicators
β
Evaluate Setup
β
Validate Risk Rules
β
Create Paper Trade
β
Store Records
β
Telegram Alert
CryptoPilot-AI-Trader
β
βββ workflow/
β βββ CryptoPilot_AI_Trader.json
β
βββ docs/
β βββ Strategy.md
β βββ Setup.md
β βββ Architecture.md
β
βββ screenshots/
β
βββ README.md
Never commit:
Telegram Bot Token
Database Password
API Keys
Private URLs
Credentials
Use:
Environment Variables
n8n Credentials
instead.
Recommended Deployment:
Docker
n8n
Ubuntu VPS
Suggested VPS:
- Hostinger VPS
- Contabo VPS
- AWS Lightsail
β Paper Trading
β Google Sheets Logging
β Telegram Alerts
β PostgreSQL Analytics
β¬ Multi Timeframe Confirmation
β¬ Volume Filter
β¬ BTC Trend Filter
β¬ Advanced Risk Management
β¬ CoinDCX Live Trading
β¬ Exchange Order Management
β¬ Portfolio Tracking
β¬ AI Market Filters
Mode : PAPER
Timeframe : 15M
Scan Frequency : Every 15 Minutes
Database : PostgreSQL
Reporting : Google Sheets
Notifications : Telegram
Trading : Simulated
This project is intended for educational and research purposes.
Paper trading results do not guarantee future performance.
Always validate strategy performance with sufficient historical and forward testing before risking real capital.
Rohit Pandey
Project: CryptoPilot AI Trader
