HomeWorkLaboratoryCertificationsBlogLet's Talk

© 2026 Juan Villegas. All rights reserved.

Solutions Architect

    Back

    Trading Bot (Automatic Analysis)

    Early-stage idea: bot that analyzes a market signal and suggests an action (buy/hold/sell) following simple rules, without executing real trades.

    Status: Testing
    Trading Bot (Automatic Analysis)
    Node.jsAPI de mercadoReglas técnicas

    Focused on

    Traders individuales que quieren automatizar el análisis, no la ejecución

    Time invested

    En curso, dedicación de fines de semana, ~1 semana hasta ahora

    Why I explored this

    Curiosidad por ver si un set simple de reglas técnicas (medias móviles, volumen) puede dar una señal consistente sin necesidad de un modelo de machine learning complejo.

    What I'm testing

    El bot recibe un precio actual y lo pasa por una cadena de reglas técnicas antes de sugerir una acción, nunca ejecuta la operación, solo sugiere.

    What I learned

    Las reglas técnicas simples generan muchas señales falsas en mercados laterales (sin tendencia clara). El reto no es calcular el indicador, es decidir cuándo ignorarlo.

    Compared to other options

    Se descartó conectar una API de ejecución real de entrada porque el riesgo de un bug ejecutando operaciones reales no se justifica en etapa de experimento.

    Next step

    Hacer backtesting con datos históricos antes de confiar en las señales que da.

    Tech Stack

    Backend

    Node.jsExpress

    Infrastructure

    Cron job

    Known limitations

    • Reglas técnicas simples, sin backtesting histórico todavía
    • No ejecuta operaciones reales, solo sugiere
    • No considera noticias ni eventos externos, solo precio y volumen

    How it works, step by step

    Try it with your own message:
    Recibe el precio actual del activo
    Calcula la media móvil de las últimas sesiones
    Compara precio vs. media y volumen reciente
    Sugiere: comprar, mantener o vender
    Result
    …
    React Flow
    Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
    Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.