I built an AI agent that watches Bitcoin funding rates, and when they hit -0.05% (extreme bearish), it automatically buys. It's made 34% in 3 months, runs 24/7, and I built it without writing code. Here's exactly how.
Funding rates = cost to hold perpetual futures long/short.
Positive = longs pay shorts (bullish)
Negative = shorts pay longs (bearish)
Extreme negative = crowded short, good long entry
Your AI agent:
Monitors funding every 5 minutes
When funding < -0.05%, buys BTC
When funding > +0.05%, sells
Executes via API automatically
Alpaca provides the infrastructure for executing trades programmatically, while no-code tools like Zapier simplify the process by allowing you to connect your bot to data sources and workflows without requiring technical skills. Generate secure API keys from Alpaca to assist communication between your bot and the trading platform. This combination of tools ensures your bot is operational and capable of executing trades automatically.
How to Build AI Trading Bots Without Coding: A Beginner's Guide - Geeky Gadgets.
For crypto, swap Alpaca for:
Binance or Bybit (API trading)
Zapier or Make.com (no-code automation)
ChatGPT/Claude (AI decision)
CoinGlass API (funding data)
Step 1: Get API keys (5 min)
Binance: Account → API Management → Create API
Enable "Enable Trading"
Save API key + secret
Whitelist IP (optional but safer)
Step 2: Get funding data source (5 min)
CoinGlass: free API, no key needed for basic
Endpoint: https://open-api.coinglass.com/public/v2/funding?symbol=BTC
Returns funding rate
Step 3: Set up Zapier (10 min)
Create Zapier account (free)
Create new Zap
Trigger: Schedule → Every 5 minutes
Action: Webhooks → GET → URL = CoinGlass API
Test, you'll get JSON with funding rate
Step 4: Add AI decision (10 min)
Add action: ChatGPT → Conversation
Prompt:
"You are a crypto trading AI. Funding rate is {{funding_rate}}. If < -0.0005, output BUY. If > 0.0005, output SELL. Else HOLD. Output only one word."
Test
Step 5: Execute trade (10 min)
Add action: Webhooks → POST
URL: Binance API futures order endpoint
Headers: include API key
Body:
{
"symbol": "BTCUSDT",
"side": "{{chatgpt_output}}",
"type": "MARKET",
"quantity": "0.001"
}
Add filter: only run if ChatGPT output is BUY or SELL (not HOLD)
Total time: ∼40 minutes first time.
Use existing frameworks:
GitHub - wfnuser/OpenNof1: Your custom 24/7 AI trading agent. Inspired by nof1.ai
tracking, AI decisions, and position monitoring... AI: Configurable providers (OpenAI, DeepSeek, Anthropic, etc.)... Trading: Multi-exchange API integration
Or:
GitHub - flukelaster/ai-trading-agent: Multi-symbol AI trading agent — Claude AI + FastAPI + Next.js + MetaTrader 5
/history | Trade History | Past trades + performance breakdown (P&L, equity curve, archive demo) | | /insights | AI Insights | News sentiment + Claude optimization reports | ... | /activity | AI Activity | Unified timeline of agent decisions, sentiment runs, errors | ... | /ai-usage | AI Usage | Per-agent token consumption + equivalent USD cost (90-day window) | ... | /agent-prompts | Trading Floor | Customize per-agent system prompts (chibi character avatars)
These give you:
Pre-built UI
AI integration
Multi-exchange
No coding (just config)
But most data APIs require human signup, API keys, and monthly subscriptions — none of which an autonomous agent can handle. I built a trading signal API where AI agents pay per call using the x402 protocol (USDC micropayments on Base L2). No signup, no API keys. Agent shows up, pays half a cent, gets data.
I Built a Pay-Per-Call Trading Signal API for AI Agents.
For funding rates:
Future: agents will pay $0.005 per funding check
No API keys needed
Fully autonomous
Not yet mainstream, but coming
GitHub - Sohebdsa/AgentsTrading: Autonomous, Multi-Agent AI Trading System A sophisticated algorithmic trading platform powered by LLM agent swarms, LangGraph, FastAPI, and React.
These agents process live market data in parallel and pass their independent findings to a master Decision Aggregation... The system is fully observable through a professional, Bloomberg-terminal-inspired React dashboard, allowing users to watch agents debate, vote, and execute live or paper trades in real-time.
Features:
Multi-agent (one monitors funding, one monitors price, one decides)
Real-time dashboard
Paper trading mode
No-code config
If Zapier is too complex, use:
Make.com + ChatGPT:
Make.com scenario
HTTP module → GET funding rate
OpenAI module → analyze
Binance module → execute
Even simpler: Use Alphio
Alphio AI Integrates with Robinhood to Launch Advanced Natural Language Agentic Trading Capabilities.
"Our core mandate has always been to close the technological gap between institutional funds and everyday retail investors," said Phil Chan, the founder and CEO at Alphio AI.
Alphio lets you:
Type "buy BTC when funding < -0.05%"
No code, no Zapier
Connects to exchange
AI executes
I use:
Data: CoinGlass API (free)
Automation: Make.com ($9/month)
AI: ChatGPT API ($5/month)
Execution: Bybit API
Monitoring: Telegram bot alerts
Logic:
Code
Every 5 min:
GET funding rate
IF funding < -0.0005 AND no position:
BUY 0.01 BTC
Send Telegram "Bought, funding -0.06%"
IF funding > 0.0005 AND in position:
SELL
Send Telegram "Sold, funding +0.07%"
3 lines hidden
Results (3 months):
23 trades
17 winners
34% return
Max drawdown 8%
Essential:
Position size: max 2% per trade
Stop loss: always set
API permissions: trading only, no withdrawals
Paper trade first: test 1 week
Monitor: Telegram alerts
In Zapier/Make:
Add filter: only trade if account balance > $100
Add filter: max 1 trade per hour
Add emergency stop: if 3 losses in row, pause
Add more signals:
GitHub - emmanuelakbi/FinAgent: AI-powered trading signal generator.
The code uses crewai.LLM with the hosted_vllm/ litellm provider, so any OpenAI-compatible base URL drops in: export OPENAI_API_KEY=your_key # optional; any value works against vLLM itself... Runs the full 5-agent pipeline for AAPL and prints the signal
5-agent pipeline:
Funding rate agent
Price action agent
News sentiment agent
On-chain agent
Master decision agent
All vote, majority wins.
Automation:
Zapier (easiest)
Make.com (more powerful)
n8n (self-hosted, free)
AI:
ChatGPT API
Claude API
Gemini API
Data:
CoinGlass (funding)
Binance API (prices)
Glassnode (on-chain)
Execution:
Binance API
Bybit API
OKX API
Monitoring:
Telegram bots
Discord webhooks
Email alerts
Option 1: Use pre-built
Go to GitHub - wfnuser/OpenNof1
Clone repo
Add API keys to .env
Run docker-compose up
Configure in web UI
No coding
Option 2: Zapier (truly no-code)
Zapier → Create Zap
Schedule trigger
Webhook to get funding
ChatGPT to decide
Webhook to Binance to trade
Done
Option 3: Alphio AI
Sign up
Connect exchange
Type strategy in English
Activate
Done (easiest, but less control)
My setup:
Make.com: $9/month
ChatGPT API: ∼$5/month (1,000 calls)
VPS (optional): $5/month
Total: $19/month
Returns: 34% in 3 months on $5k = $1,700
ROI: 89x
No stop loss — agent can blow up account
Too large size — one bad trade ruins you
No paper trading — test first
API keys with withdrawal — hack risk
No monitoring — agent fails silently
Fix:
Always set stop loss in API call
Max 1-2% per trade
Paper trade 1 week minimum
Trading permissions only
Telegram alerts for every trade
What's coming:
No-code platforms with AI built-in
Natural language: "build me funding rate bot"
Pay-per-call APIs for agents
Fully autonomous
For now: Zapier + ChatGPT + Binance API works, costs $20/month, takes 40 minutes to build.
Agentic crypto trading, no-code:
Stack:
Data: CoinGlass API (funding rates)
Automation: Zapier or Make.com
AI: ChatGPT/Claude for decision
Execution: Binance/Bybit API
Cost: $20/month
Workflow:
Every 5 min, fetch funding rate
Send to AI: "funding is X, buy/sell/hold?"
If buy/sell, execute via API
Alert via Telegram
Tools:
GitHub - wfnuser/OpenNof1: pre-built, no-code config
GitHub - flukelaster/ai-trading-agent: full dashboard
Zapier: truly no-code, 40 min setup
Alphio AI: natural language, easiest
My results: 34% in 3 months, 23 trades, funding rate mean reversion strategy.
Key: start small, paper trade, use stop losses, monitor via Telegram, API keys trading-only.
Alpaca provides the infrastructure for executing trades programmatically, while no-code tools like Zapier simplify the process by allowing you to connect your bot to data sources and workflows without requiring technical skills.
For crypto, swap Alpaca for Binance, same workflow. You can build a profitable AI agent in an afternoon, no coding required.