Crea tu Bot de Trading con IA (Claude Code) Sin Saber Programar

Crea tu Bot de Trading con IA (Claude Code) Sin Saber Programar

Introduction to Automated Trading Bots

Overview of the Trading Bot

  • The speaker introduces an automated trading bot developed using Cloud Code, emphasizing that no coding is required from the user.
  • The bot operates through a Python script stored on the user's computer, executing buy and sell orders autonomously.

Risk Management Rules

  • The speaker outlines risk management rules to prevent excessive losses during high market volatility.
  • It is clarified that while AI assists in development, it does not make trading decisions; those are handled by the Python script.

Setting Up for Bot Development

Requirements for Creating the Bot

  • A Cloud Code account with a pro plan (approximately $25/month) is necessary for developing the bot.
  • Users need to install Python, which can be done automatically via Cloud if not already present on their computers.

Exchange Account Setup

  • An exchange account (e.g., Bitúnix) is required with a minimum balance of 50 USDT recommended for effective trading operations.

Establishing Risk Mitigation Strategies

Key Risk Rules for Trading

  • Four essential rules are established:
  • Maximum position size limited to 20% of total balance.
  • All trades cease if there’s a daily loss of 3%.
  • If a "stop" file exists, no new positions will open regardless of opportunities.
  • Closing positions should always be allowed as a risk mitigation strategy.

Engaging with Cloud Code

Initial Interaction with Cloud Code

  • The speaker begins interacting with Cloud Code to set up the bot's parameters and risk rules within the created folder structure.

Implementing Strategy Basics

Strategy Overview

  • A simple trading strategy based on Bollinger Bands over a 15-minute timeframe is introduced.
  • Trades are triggered when prices breach upper or lower bands, supplemented by an ADX filter to avoid entering during strong trends.

Finalizing Strategy Parameters

Stop Loss Configuration

  • The stop loss will utilize ATR (Average True Range), adjusting dynamically based on market volatility to protect against rapid price movements.

Backtesting and Results Analysis

Testing Strategy Performance

  • After implementing the strategy in TradingView, results show a total PNL of +0.37%, indicating some profitability despite mixed trade outcomes.

Optimizing Trading Costs

Reducing Commission Fees

  • Discussion about lowering commission fees through rakeback.com offers potential savings that could improve overall strategy performance significantly.

API Integration Steps

Connecting to Exchange API

  • Instructions provided for creating an API key in Bitúnix necessary for connecting the bot securely without allowing withdrawals.

Verifying Funds and API Keys

Ensuring Proper Setup

Users must ensure sufficient funds are available in their futures account before proceeding with bot operations and verify API keys' accuracy without exposing sensitive information.

Testing Connection and Functionality

Initial Connection Tests

  • Successful connection tests between Cloud and Bitunix confirm operational readiness without executing real trades initially.

Bot Decision-Making Process

Evaluating Market Conditions

  • The bot checks market conditions but refrains from making trades when criteria aren't met according to its programmed logic.

Executing Test Trades

Opening Positions Manually

  • Manual prompts allow users to test opening positions directly through commands issued by Claude within controlled environments.

Troubleshooting Trade Execution

Addressing Issues During Testing

  • When discrepancies arise regarding opened positions, Claude provides insights into potential errors or miscommunications within accounts being monitored.

Finalizing Safety Measures

Creating Emergency Protocol Files

  • Establishment of an emergency "stop" file ensures that under extreme conditions or malfunctions, no new trades can be initiated while still permitting position closures.

Conclusion and Future Plans

Next Steps in Bot Development

  • Plans outlined include running live tests over several days or weeks using real capital ($100-$200), assessing long-term viability before scaling investments further.

Turn any video into a summary like this

YouTube links, meetings, lectures. With transcripts, search, and chat.

Video description

💸 Recupera parte de las comisiones que pagas en tu exchange: https://rakebk.com/es/?utm_source=youtube&utm_medium=video&utm_campaign=v4-bot-trading-claude Cómo crear un bot de trading con IA sin saber programar: le explicas a Claude Code en español lo que quieres y él escribe el bot en Python por ti, sin que toques una línea de código. En este vídeo, paso a paso: 1. Las 4 reglas de riesgo del bot 2. La estrategia con Bandas de Bollinger y ATR 3. El backtest en TradingView, con comisiones 4. La API key en Bitunix y el bot conectado en modo papel 5. Una orden real de prueba 6. Un botón rojo (archivo STOP) para pararlo 📌 Los 8 prompts que uso, en orden y listos para copiar, están en el comentario fijado. Preguntas que responde este vídeo: ¿Se puede crear un bot de trading con IA sin saber programar? Sí: Claude Code escribe todo el código en Python a partir de tus instrucciones. ¿Qué necesito? Claude (plan Pro, 20 $ al mes), Python y una cuenta en un exchange con API. ¿Cómo lo pruebo sin arriesgar dinero? Primero en modo papel, conectado al exchange por API, y solo después una orden real pequeña. ▶️ La estrategia de Bandas de Bollinger, explicada en el vídeo anterior (Cómo Conectar Claude a TradingView): https://youtu.be/ddAHJkIbYtA Correcciones: - El plan Pro de Claude cuesta 20 $ al mes, no 25. - La comisión rebajada es 0,036%, no 0,36%. El backtest (ETH 15 min, 1 jun - 5 oct 2026, 22 operaciones) pierde un 0,37% con la comisión normal de 0,06% y un 0,16% con la rebajada. Capítulos 00:00 Bot de trading con Claude Code 01:25 Requisitos: Claude, Python y exchange 03:53 Las 4 reglas de riesgo del bot 05:38 Crear las reglas de riesgo en Python 07:18 Estrategia Bandas de Bollinger y ATR 11:16 Backtesting en TradingView y comisiones 13:49 Crear la API key en Bitunix 16:16 Conectar el bot al exchange en modo papel 20:03 Si el código de la IA falla 20:47 Probar operaciones reales de prueba 24:23 Botón rojo: archivo STOP 27:08 Resultado y próximo test con dinero real ⚠️ Nada de este vídeo es recomendación de inversión. Un bot puede perder dinero: empieza en modo papel y con cantidades pequeñas. #claudecode #botdetrading #trading