From Forex to crypto bots: Interview with professional trader John Carballar

DATE PUBLISHED: MAY 8, 2024
31 MIN
DATE UPDATED: MAY 9, 2024

John shares his wisdom with the 3Commas community

Start Trading on 3Commas Today

Get full access to all 3Commas trading tools with free trial period

Welcome to our in-depth interview with John Carballar, a seasoned professional in the dynamic world of cryptocurrency trading. Today, we delve into his experiences with automated trading bots, particularly those from 3Commas, uncovering the nuances and strategies that have shaped his journey from a traditional Forex trader to a pioneer in the crypto trading space.

John brings a wealth of knowledge and a unique perspective, having transitioned from the structured world of Forex to the 24/7, ever-evolving cryptocurrency markets. His insights are invaluable for anyone looking to understand the integration of automated systems in trading and how they can be leveraged to enhance performance and manage risks effectively.

Whether you're a seasoned trader or just starting out, John's experiences and the lessons he shares today promise to enrich your understanding of automated trading and its potential in the crypto universe. Join us as we explore the mechanics, the challenges, and the triumphs of using trading bots with a veteran who has witnessed the evolution of these tools first-hand.

1. Introduction to Automated Trading: What initially drew you to using automated trading bots like those from 3Commas for your crypto trading?

Mainly the trading times. I come from forex and the old school, in forex I was used to trading at specific opening or closing times of markets, in crypto it's very different, you can practically trade at any time, any day of the week. All my alerts used to go off outside my trading hours and it was a bit frustrating to have to be on my phone paying attention to any time of the day to trade, that's why bots were especially useful for me in the crypto market in particular.

Interesting... so you come from Forex, is the market very different?

Essentially it shouldn't, but because trading opened the doors to a new niche, a wave of new traders joined, causing the conditions and synchronization present in forex to fade a bit in crypto, since in forex there are certain 'rules' or standards that almost everyone followed. In crypto, due to the influx of new and mostly inexperienced traders, they created different market conditions, making it difficult to detect patterns when trading during certain time frames.

You mentioned coming from the old school, does that mean you've been trading for a long time? Could you say how long?

Since my first contact with MetaTrader, Forex, and demo accounts, it's been around 20 years, but dedicating myself full-time to this business, I have about 5 years approximately.

 2. Strategy Development: How do you develop and test your strategies before implementing them with bots on 3Commas?

Personally, I like to combine 2 or 3 indicators from different categories, oscillators, volume-based, and perhaps another one that weights the price over a period of time. I base my main idea on a setup or strategy regarding price action, adjusting my indicators to react in scenarios that I previously mark. Subsequently, I conduct backtesting with pinescript, grouping all the conditions for a possible entry, making adjustments to achieve a success rate above 50%, and then create my risk management strategy. Once I have all that, I create the code for my indicator that will specifically serve me for 3Commas. I launch it, and again leave a minimum 3-month testing phase to ensure that the script, alerts, API, and 3Commas are functioning correctly, or alternatively, to detect possible failures or issues, both in execution and in strategy.

You know that in 3Commas we have the demo account, do you use it? Backtesting and live trading can have different results…

Yes, I'm familiar with it, but I don't use it. From my experience, I believe that the 3Commas demo account is especially useful for learning to navigate the tools it provides, rather than for obtaining measurable results in the market, as it won't yield results that closely resemble reality because price behaves differently in a synthetic environment. There are inherent risks such as spread, financing rates, gaps, and even violent movements that can disrupt orders in the API, and all of these are what comes with trading in a real market and details that could inevitably affect operations or strategy. I view my backtests only as an approach to get a generalized idea of what might happen; however, I don't take them as fact. Once I create and fine-tune my tools, there's no other option but to dive in and expose myself to the market.

3. Bot Performance Management: Can you describe how you monitor and manage the performance of your trading bots? 

At first, it was a bit messy because I had grids, DCA, some inactive ones, others that were no longer working, or that I set aside, etc. Over time, I started adopting ideas. Now what I do is create sub-accounts on my exchange. When I create a strategy, I run it in isolation in a sub-account, so I can compare the metrics from the initial point the strategy is run, and compare the results with the stats from 3Commas. That way, I can specifically track a strategy with a certain assigned margin capital, without it being mixed with the equity curve of my entire portfolio.

I understand that with so many tools, it seems somewhat complex. Are there any specific stats you focus on? You mentioned the equity curve, but are there any other indicators or data points in particular that you evaluate? What indicators or data points are most crucial in your evaluation?

There are dozens of data points that can be considered, however, I follow the philosophy that if trading is naturally difficult, there's no need to make it even more complicated. From the data I consider as a baseline, I focus on the Sortino Ratio and the average number of trades that hit my stop loss. 

The Sortino Ratio is a performance measure used in investment analysis that focuses on the negative volatility of an asset or investment strategy. Unlike the Sharpe Ratio, which considers all volatility (both positive and negative), the Sortino Ratio only takes into account negative volatility, meaning price movements that are below a certain reference threshold, which is usually the target return or risk-free rate.

I focus primarily on scenarios that could potentially make me lose money, so by concentrating on minimizing that risk and protecting capital, profits practically come naturally once the worst possible scenario can be endured.

4. Adjusting Strategies: How often do you find yourself needing to adjust your bot's strategies based on market conditions or performance outcomes?

When I have or think about making adjustments, I do so based on performance. I do it this way because initially my goal is for the strategy to behave in a certain way, encompassing any possible market condition, whether bullish or bearish. But when returns approach a 20% loss (drawdown), I stop everything and begin to analyze what is happening, if everything is functioning correctly, the change in accuracy rate, and the profit ratio it has given me in recent months. Although I conduct backtests at least 1 to 2 years back (if the asset allows it), I cannot know exactly what will happen next, so I can only have a "red flag" to know when to stop and review whether I need to adjust parameters in the indicators, or if it might be a season that initially does not favor my strategy.

So you tolerate a 20% risk before adjusting your strategy, is that correct?

Correct, 20% of the total assigned margin in a strategy.

Why that value?

Exceeding the 20%, the probability of being able to recover the portfolio's breakeven point increases exponentially. That is to say, if I were to let it reach 25%, for example, I would practically need a growth of 30 to 40% in the portfolio just to reach the initial point (adjusting the risk to the 75% of the remaining portfolio).

5. Comparison with Manual Trading: In what ways has using bots changed your trading outcomes compared to when you traded manually?

It's an interesting approach because, although it may be counterintuitive, there's a strange force that leads you to fall into overtrading. Even though they're originally meant to "facilitate" things, I believe everyone at some point falls into the trap of overtrading because they have high-frequency trading (HFT) so easy and accessible. That creates a feeling of wanting to trade all the time, on all possible assets at the same time, and a feeling of wanting more and more. Being such a powerful tool, you have to take your time to learn to use it correctly and not let it consume you.

6. Risk Management: How do automated bots help you manage risk, especially during volatile market conditions?

A strategy must be executed to the letter if you seek to achieve results close to what the metrics show. In volatile environments, it helps me execute certain operations that, otherwise (manually), I might hesitate or create a cognitive bias based on rumors, fundamentals, or even communities. I know a bot will execute a trade without hesitation or wavering, conditions are met and it enters, similarly when it's time to exit, it maximizes profits as much as the data allows, without succumbing to fear or euphoria from an overheated market.

7. Tool Integration: Are there any tools or additional software that you integrate2 with 3Commas to enhance your trading efficiency or effectiveness?

I usually use Kingfisher to gather more information, Deribit to monitor the price on options contracts, and get an idea of where they want to move the price based on the max pain price. But generally, I try not to overwhelm myself with too much information. But that's external; I don't directly connect or use tools within 3Commas.

8. Success Stories and Failures: Could you share a particularly successful trade facilitated by a bot and a situation where a bot did not perform as expected? What lessons did you learn from each?

This was a trade that far exceeded my expectations. One of the things that characterizes the crypto market a lot is that periodically there are extreme movements without an apparent reason. Many times, because they are assets with low capitalization, they tend to be more manipulable and have unexpected reactions that are hardly visualized through technical analysis, since they mostly move based on market sentiment (FOMO, FUD). Although I would have manually closed this trade much earlier because I couldn't take any other point in price history as a reference, the bot helped me to keep track based on data from my indicators, squeezing a large part of the movement.

On the other hand, and exactly under the same principle, the opposite happened to me with this bot. Many times, exaggerated movements create a bias in which you think the movement was too extensive and the price "should" return at any moment, then the market surprises you with movements beyond the comprehension of a simple technical analysis. (for example, a long grid after a supposed aggressive drop, which continued to fall until completely liquidating my position).

What I have learned in the crypto space is that there is no way to anticipate the most explosive movements with technical analysis alone; purely speculative skills have to come into play, and having the highest number of probabilities on your side. In the end, it is important to understand that this business is about probabilities.

9. Future of Automated Crypto Trading: How do you see the role of automated trading bots evolving in the cryptocurrency market in the next few years?

While bots are an important tool in trading, I don't believe they can replace the skill of a conscious human mind. Trading bots alone cannot function, and if you think of delegating all responsibility to an algorithm, it could turn into a disaster, as the business is about finding opportunities and "loopholes" in the market to try to gain an advantage over other competitors. In a hypothetical scenario where 90% were bots, there would be a need for a human mind to detect that and find a way to outsmart them all, as no system is perfect.

10. Advice for Aspiring Bot Traders: What advice would you give to someone looking to start using trading bots using software like 3Commas? What are the common pitfalls to avoid?

I'm not sure if I'm the most qualified person to give advice of this kind, as I don't consider myself an expert, but if I had to give advice to a close friend or someone, it would be:

  • Acquire at least basic knowledge of analysis, whether it's technical analysis, charting, price action, or anything else, but have an idea of how the market works and moves.
  • Bots alone don't work magic; they're an extension to improve performance in your trading idea or strategy.
  • Dive deeper into how exchanges work, as there are things that are often overlooked such as funding rates, auto deleveraging, among other things.
  • Lastly, and I believe most importantly, be yourself; allow yourself to create your own ideas. While you may find a vast number of strategies on social media and YouTube, it doesn't mean they are profitable or suitable for everyone's needs and risk tolerance. It's important to feel comfortable and confident. If you enter the market with fear or excessive greed, it's likely to lead to wrong decisions and result in losses that you couldn't or shouldn't allow.

Thank you.

John Carballar

SPANISH

1. Introducción al Trading Automatizado: ¿Qué fue lo que inicialmente te atrajo a utilizar bots de trading automatizado como los de 3Commas para tu trading de criptomonedas?

Principalmente los tiempos de operativa. Vengo de forex y la vieja escuela, en forex estaba acostumbrado a operar en horarios específicos de apertura o cierre de mercados, en cripto es muy diferente, prácticamente se puede operar a cualquier hora, cualquier día de la semana. Todas mis alertas solían saltar fuera de mi horario operativo y era un poco frustrante tener que estar en el móvil atento a cualquier momento del día para operar, es por esa razón que los bots me fueron especialmente útiles en el mercado cripto en concreto.

Interesante… así que vienes de Forex, ¿es muy distinto el mercado?

Esencialmente no debería, pero debido a que el trading abrió la puertas a un nicho nuevo, una ola de nuevos traders se sumó y eso ocasionó que las condiciones y sincronía que hay en forex se desvaneciera un poco en cripto, ya que en forex de cierta manera hay "reglas" o estándares que casi todos seguían. En cripto por el hecho de adoptar nuevos traders y la mayoría no tan experimentados, crearon condiciones en el mercado diferentes, dificultando la detección de patrones al momento de operar en ciertas franjas horarias.

Has comentado lo de que vienes de la vieja escuela, ¿quiere decir que llevas mucho tiempo operando?, ¿podrías decir cuánto?

Desde mi primer contacto con meta trader, forex y cuentas demo, han pasado cerca de 20 años, pero dedicándome full-time a este negocio tengo alrededor de 5 años aproximadamente.

2. Desarrollo de Estrategias: ¿Cómo desarrollas y pruebas tus estrategias antes de implementarlas con bots en 3Commas?

Personalmente me gusta combinar 2 ó 3 indicadores de diferente categoría, osciladores, de volumen y alguno otro que me pondere el precio en un rango de tiempo. Baso mi idea principal en algún set up o estrategia sobre la acción del precio, ajusto mis indicadores para que reaccionen en escenarios que yo previamente marco. Posteriormente hago backtest con pinescript agrupando todas las condiciones para una posible entrada, hago ajustes para poder tener una tasa de acierto por encima del 50% y después creo mi estrategia de gestión de riesgo. Una vez que tengo todo eso, creo el código de mi indicador que me servirá específicamente para 3Commas. Lo lanzo, y dejo nuevamente una fase de prueba de mínimo 3 meses para asegurarme de que el script, las alertas, la api, y 3Commas funcionen de manera correcta, o en su defecto, detectar posibles fallos o problemas, tanto en la ejecución como en la estrategia.

Sabes que en 3Commas tenemos la cuenta demo, ¿la utilizas? no es lo mismo realizar un backtest que el trading en vivo…

Sí, la conozco, pero no la utilizo, desde mi experiencia pienso que la cuenta demo de 3commas funciona especialmente para aprender a manejar las herramientas que proporciona, no tanto para obtener resultados medibles en el mercado, ya que no arrojará resultados que se acerquen a lo real porque no se comporta de la misma manera el precio en un entorno sintético. Hay riesgos inherentes como spread, tasas de financiación, gaps, Incluso movimientos violentos que llegan a entorpecer las órdenes en la API, y todo eso es lo que conlleva operar en un mercado real y detalles que invariablemente podrían afectar la operativa o la estrategia. Mis backtest los veo solamente como un acercamiento para poder tener una idea generalizada de lo que podría pasar, sin embargo no los tomo como un hecho. Una vez que creo y ajusto mis herramientas, no hay otra opción más que meter las manos al fuego y exponerme al mercado.

3. Gestión del Rendimiento del Bot: ¿Puedes describir cómo monitoreas y gestionas el rendimiento de tus bots de trading? 

Al principio fue un poco lío porque tenía grids, dca, unos inactivos, otros que ya no servían o los dejaba de lado, etc, con el tiempo fui adoptando ideas. Ahora lo que hago es crear subcuentas en mi exchange. Cuando creo una estrategia la corro de forma aislada en una subcuenta, de esa manera puedo comparar las métricas desde el punto inicial que se corre la estrategia, y cotejar los resultados con los stats de 3commas. De esa manera puedo darle seguimiento específicamente a una estrategia con un X capital de margen asignado, sin que se mezcle con la curva de equidad de todo mi portafolio.

Entiendo que tantas herramientas se antoja algo complejo. Hay algunas stats en las que te fijas en concreto? Mencionaste la curva de equidad, sin embargo algún otro indicador o punto de dato en concreto en tu evaluación?

Hay decenas de datos que se pueden considerar, sin embargo soy de la filosofía en la que, si el trading naturalmente ya es difícil, no hay que complicarlo más aún. De los datos que yo considero como base, son el ratio de sortino, y el promedio de operaciones que tocan mi stoploss. El Sortino Ratio es una medida de rendimiento utilizada en el análisis de inversiones que se centra en la volatilidad negativa de un activo o estrategia de inversión. A diferencia del Sharpe Ratio, que considera toda la volatilidad (tanto positiva como negativa), el Sortino Ratio solo tiene en cuenta la volatilidad negativa, es decir, los movimientos de precios que están por debajo de un cierto umbral de referencia, que generalmente es el rendimiento objetivo o la tasa libre de riesgo.

Yo me enfoco en primer lugar en los escenarios que potencialmente me podrían hacer perder dinero, así que, concentrándome en minimizar ese riesgo y cuidando el capital, prácticamente las ganancias se dan solas una vez que se puede soportar el peor escenario posible.

4. Ajuste de Estrategias: ¿Con qué frecuencia te encuentras necesitando ajustar las estrategias de tu bot basándote en las condiciones del mercado o los resultados de rendimiento?

Cuando tengo o pienso en hacer ajustes, los hago en función del rendimiento, lo hago de esa manera porque inicialmente mi objetivo es que la estrategia se comporte de cierta manera abarcando cualquier posible condición de mercado, ya sea bajista o alcista. Pero cuando los rendimientos se acercan a un 20% de pérdida (drawdown) detengo todo y empiezo a analizar que es lo que sucede, si todo funciona correctamente, el cambio en la tasa de acertividad y el ratio beneficio que me ha dado en los últimos meses. Aunque los backtest los hago como mínimo de 1 a 2 años atrás (si el activo me lo permite) no puedo saber a ciencia exacta lo que ocurrirá después, de esa manera solo puedo tener un "foco rojo" para saber en que momento parar y revisar si tengo que ajustar parámetros en los indicadores, o si posiblemente sea una temporada que en principio se que no favorece a mi estrategia.

Entonces toleras un riesgo del 20% antes de ajustar tu estrategia, ¿es correcto?

Correcto, un 20% del total del margen asignado en una estrategia.

¿Por qué ese valor?

Rebasando el 20%, la probabilidad de poder recuperar el punto de equilibrio del portafolio se aumenta exponencialmente. Es decir, si dejara que alcance un 25% por ejemplo, necesitaría un prácticamente un crecimiento de un 30 o 40% en el portafolio para alcanzar tan solo el punto inicial (ajustando el riesgo al 75% del portafolio que me queda)

5. Comparación con el Trading Manual: ¿De qué manera el uso de bots ha cambiado tus resultados de trading en comparación con cuando operabas manualmente?

Es un acercamiento interesante, ya que, aunque puede ser contraintuitivo, hay una extraña fuerza que te lleva a caer en over trading. Aunque originalmente están hechos para "facilitar" las cosas, creo que todos en algún momento caen en la trampa de sobre operar ya que tienen tan fácil y accesible el HFT (high Frequency Trading). Eso crea una sensación de querer operar todo el tiempo, sobre todos los activos posibles al mismo tiempo, y una sensación de querer cada vez más. Siendo una herramienta tan poderosa hay que tomarse su tiempo para aprender a usarla de forma correcta y que no te coma la cabeza

6. Gestión del Riesgo: ¿Cómo te ayudan los bots automatizados a gestionar el riesgo, especialmente durante condiciones de mercado volátiles?

Una estrategia tiene que ejecutarse al pie de la letra si se busca tener resultados cercanos a lo que te arrojan las métricas. En entornos volátiles me ayuda a ejecutar ciertas operaciones que, de otra manera (manual) quizá podría dudar o crear un sesgo cognitivo basado en rumores, fundamentales, o incluso en comunidades. Sé que un bot ejecutará una operación sin dudar ni titubear, se cumplen las condiciones y entra, de la misma manera cuando toca salir exprime los beneficios tanto como LOS DATOS se lo permita, sin caer en miedo o euforia por un mercado sobrecalentado.

7. Integración de Herramientas: ¿Hay alguna herramienta o software adicional que integres con 3Commas para mejorar la eficiencia o efectividad de tu trading?

Suelo utilizar Kingfisher para recaudar más información, deribit para monitorear el precio sobre los contratos de opciones y darme una idea hacia donde quieren mover el precio basándome en el max pain price. Pero por lo general procuro no sobreestimularme con demasiada información. Pero eso es externo, como tal no conecto o utilizo herramientas directamente en 3Commas.

8. Historias de Éxito y Fracasos: ¿Podrías compartir un trade especialmente exitoso facilitado por un bot y una situación donde un bot no haya funcionado según lo esperado? ¿Qué lecciones aprendiste de cada uno?


Este fue un trade que superó por mucho mis expectativas. Una de las cosas que caracteriza mucho al mercado cripto es que periódicamente hay movimientos extremos sin una razón aparente. Muchas veces por ser activos con baja capitalización suelen ser más manipulables y tienen reacciones inesperadas que difícilmente puedes visualizar mediante un análisis técnico, ya que mayormente se mueven por sentimiento del mercado (FOMO, FUD). Aunque yo manualmente hubiera cerrado mucho más temprano este Trade porque no podía tomar como punto de referencia ningún otro punto en la historia del precio, el bot me ayudó a seguir la pista basado en datos de mis indicadores exprimiendo gran parte del movimiento.

Por otro lado y exactamente bajo el mismo principio, en este bot me pasó exactamente lo contrario. Muchas veces los movimientos exagerados crean un sesgo en el que piensas que fue demasiado extenso el movimiento y en cualquier momento el precio "tendría" que regresar, entonces el mercado te sorprende con movimientos fuera de la comprensión de un simple análisis técnico. (ejemplo de un grid en long después de una supuesta caída agresiva, que siguió cayendo hasta liquidar por completo mi posición).

Lo que he aprendido en el espacio cripto, es que no hay manera de poder anticipar los movimientos más explosivos con un análisis técnico, tienen que entrar en juego habilidades puramente especulativas, y tener a favor la mayor cantidad de probabilidades. Al final hay que entender que este negocio se trata de eso, de probabilidades.

9. Futuro del Trading Automatizado de Criptomonedas: ¿Cómo ves que evolucione el papel de los bots de trading automatizado en el mercado de criptomonedas en los próximos años?

Si bien los bots son una herramienta importante en trading, no creo que puedan reemplazar la habilidad de una mente humana consciente. Por si solos los bots de trading no pueden funcionar, y si piensan delegar toda la responsabilidad a un algoritmo, puede ser que se convierta en un desastre, ya que el negocio se trata de encontrar oportunidades y "agujeros" en el mercado para intentar tomar ventaja frente a otros competidores. Y en un caso hipotético en el que el 90% fueran bots, abría una mente que detecte eso, y logre encontrar la manera de burlarlos a todos, ya que ningún sistema es perfecto.

10. Consejos para Futuros Operadores de Bots: ¿Qué consejo darías a alguien que esté buscando comenzar a usar bots de trading utilizando software como 3Commas? ¿Cuáles son los errores comunes a evitar?

No sé si soy la persona más indicada para dar un consejo de este tipo, ya que no me considero un experto, pero si tuviera que darle un consejo a una persona cercana o un amigo sería:

- Adquiere por lo menos conocimientos básicos de análisis, ya sea técnico, chartismo, acción del precio, lo que sea, pero tener una idea de cómo funciona y cómo se mueve el mercado.

- Los bots por sí solos no hacen magia, son una extensión para tener un mejor desempeño en tu idea o estrategia de trading

- Investiga más a profundidad cómo funcionan los exchanges, ya que hay cosas que muchas veces no se consideran como tasas de financiación, auto desapalancamiento, entre otras cosas.

- Y por último y creo que lo más importante, sé tú mismo, permítete crear tus propias ideas, si bien en redes sociales y youtube encontrarán cantidades ingentes de estrategias, eso no significa que sean rentables o que se ajustarán a las necesidades y tolerancia al riesgo de cada quien. Es importante que se sientan cómodos y seguros, si entran al mercado con miedo o excesiva codicia lo más probable es que eso los haga tomar decisiones equivocadas y se traduzca en pérdidas que no podían o deberían de permitirse.

Gracias 

John Carballar

Contents