How AnalystBuddy's AI Trading Bot Works — Step by Step

AnalystBuddy connects Gemini AI with Binance to automate your crypto trading strategy. Here's exactly what happens from data fetch to order execution — every time you run an analysis.

The 6-Step Process

From live market data to executed trade — fully automated

1

Connect Your Binance API

Register on AnalystBuddy and create a bot. Enter your Binance API Key and Secret Key. AnalystBuddy uses these credentials to fetch live market data and place orders on your behalf. API keys are stored encrypted. For Futures trading, ensure your key has Futures permissions enabled.

2

Configure Technical Indicators

Select your trading symbol (e.g. BTCUSDT), choose analysis timeframes (1m, 15m, 1h), and enable your preferred indicators: RSI, EMA, MACD, Bollinger Bands, VWAP, ATR, Stochastic. Each indicator is mapped to a specific timeframe for multi-timeframe analysis.

3

Write Your AI Strategy Prompt

Write a natural-language prompt that tells Gemini AI how to interpret the market data and indicators. For example: "When RSI is below 30 and price is above EMA 20, generate a BUY signal with 2% SL and 4% TP." Gemini is constrained to return a strict JSON signal with action, price, SL, and TP.

4

Fetch Live Binance Data + Compute Indicators

AnalystBuddy calls the Binance API to pull live OHLCV (Open, High, Low, Close, Volume) candlestick data for each configured timeframe. It then computes all selected technical indicators in real-time and formats the enriched dataset for AI analysis.

5

Gemini AI Generates a Trade Signal

The enriched market data (candlesticks + indicator values) is sent to Google Gemini AI along with your custom strategy prompt. Gemini analyzes the data and returns a JSON signal: BUY, SELL, or HOLD — with a specific entry price, stop-loss level, and take-profit target.

6

Automatic Order Execution on Binance

On a BUY or SELL signal, AnalystBuddy places a market entry order on Binance Spot or Futures. Immediately after, it places Stop-Loss and Take-Profit conditional orders using Binance's algoOrder endpoint to protect the position. All orders are logged in the Order History for full auditability.