Órdenes a mercado en la apertura: cómo se ejecuta una señal "end of day" y qué cuesta el slippage
Muchos sistemas de trading, Ecliptic Alerts entre ellos, trabajan "end of day": calculan las señales con los precios de cierre y las ejecutan en la apertura siguiente. Es una forma de operar que no requiere estar frente a la pantalla, pero tiene un costo propio que conviene entender: la diferencia entre el precio que el sistema asumió y el que efectivamente se obtiene. Esta guía explica cómo se ejecuta una señal de este tipo, paso a paso, y cuánto suele costar esa diferencia.
Qué es una señal "end of day"
El mercado de EE.UU. cierra a las 16:00, hora de Nueva York (17:00 o 18:00 en Argentina, según rija o no el horario de verano en Estados Unidos). Una vez cerrado, los precios del día quedan fijos, y un sistema mecánico puede calcular con esos datos qué comprar y qué vender. La señal se emite esa tarde o esa noche: "comprar X, vender Y", con cantidades.
Lo importante es que la señal se calcula con el cierre pero no se puede ejecutar al cierre, porque el mercado ya cerró. La primera oportunidad real es la apertura del día siguiente, a las 9:30 de Nueva York (10:30 u 11:30 en Argentina). Entre un momento y el otro transcurren más de 17 horas en las que el precio puede moverse: noticias, resultados, lo que haya ocurrido en Asia y Europa. A esa diferencia se la llama gap de apertura, y es parte de la operatoria, no un error.
Cómo se ejecuta: la subasta de apertura
La apertura en las bolsas de EE.UU. no es un instante caótico: es una subasta. Desde antes de las 9:30, los brokers acumulan órdenes de compra y de venta, y a las 9:30 la bolsa calcula el precio único que cruza la mayor cantidad posible. Todas las órdenes que participan se ejecutan a ese mismo precio de apertura.
Para participar, la vía más simple es una orden a mercado enviada antes de la apertura. En muchos brokers existe el tipo específico "market on open" (MOO), que asegura que la orden entre en la subasta; en otros basta con enviar la orden a mercado la noche anterior o temprano por la mañana. La secuencia práctica es:
- La señal llega por la tarde o por la noche.
- Las órdenes se cargan en el broker esa noche o antes de las 9:30 de Nueva York.
- A las 9:30 se ejecutan en la subasta, todas al precio de apertura.
- La tarde siguiente llega la próxima señal, con la posición ya tomada.
Ecliptic Alerts envía la lista de señales por la tarde, con el cierre, para que cada suscriptor la cargue en su propio broker y se ejecute en la apertura siguiente. No opera cuentas de terceros ni custodia dinero; cada persona decide y ejecuta. Esto no es asesoramiento financiero.
Orden a mercado vs. orden límite
Una orden a mercado indica "comprar al precio disponible". Una orden límite indica "comprar solo si el precio es este o mejor". La orden límite parece más segura, pero para una señal end of day tiene un problema: si el precio abre por encima del límite, la orden no se ejecuta y la operación se pierde. Y las operaciones que se pierden de ese modo son, con frecuencia, las que más suben, porque abrieron con fuerza.
Un sistema que fue probado con precios de apertura asume que todas las señales se ejecutan. Si usted ejecuta solo las que abren a menor precio, está operando un sistema distinto, del que no existe backtest. Por eso la ejecución a mercado en la apertura, aunque cueste algo más, es la que mantiene la operación real cercana a lo que fue medido.
Qué es el slippage y de qué se compone
El slippage es la diferencia entre el precio que el sistema asumió para la operación y el precio efectivamente obtenido. Tiene tres componentes:
- El spread: la distancia entre el mejor precio de compra y el mejor precio de venta. En una acción grande de EE.UU. son centavos; en una pequeña o poco operada, puede ser bastante mayor.
- El impacto de la propia orden: cuánto mueve el precio la compra de quien opera. Con una cuenta de US$10.000 a US$50.000 que opera acciones líquidas, es prácticamente cero: la orden es una fracción ínfima del volumen de la subasta.
- La diferencia entre el precio de referencia y el real: si un backtest asume que la compra se hizo al cierre pero en la práctica se hizo en la apertura, todo el gap entre uno y otro es "slippage", en contra o a favor. Un backtest honesto de un sistema end of day simula la compra al precio de apertura, no al de cierre. Es una de las primeras preguntas que corresponde hacer a cualquier servicio.
Cuánto cuesta, en dinero
Órdenes de magnitud, para acciones y ETFs líquidos de EE.UU. y órdenes pequeñas: entre unos pocos puntos básicos y diez o quince (un punto básico es 0,01 %). En una posición de US$3.000, 5 puntos básicos son US$1,50; 15 puntos básicos, US$4,50. La comisión, en la mayoría de los brokers internacionales hoy, va de cero a uno o dos dólares por orden. Entre compra y venta: unos pocos dólares por operación, más lo que se pierda en el spread.
No es mucho, pero tampoco es cero: un sistema que opera mucho y gana poco por operación puede perder toda su ventaja solo por este costo. Un sistema que opera pocas veces, con posiciones que duran días o semanas, lo siente mucho menos. Lo relevante no es el costo por orden, sino la relación entre ese costo y lo que gana el sistema por operación en promedio. Si el servicio no publica ese número o no puede explicar cómo lo simuló, corresponde preguntar. Si no hay respuesta, es motivo de desconfianza.
Tres errores comunes
- Ejecutar tarde. Cargar la orden a las 11 de la mañana de Nueva York, cuando se dispone de un momento libre, no es ejecutar en la apertura: es operar otro sistema, con un precio que ya se movió.
- Filtrar señales a discreción. "Esta no me convence, la omito". Cada señal omitida aleja la operación real del sistema medido; después no será posible saber si el resultado corresponde al sistema o a las omisiones.
- Reducir la orden por temor al gap. El gap está incluido en el backtest si este usa precios de apertura. Reducir la posición manualmente es cambiar las reglas sin medir.
Quien quiera ver cómo es una lista de señales real puede consultar un día de ejemplo: https://eclipticalerts.com/?demo=1
Market orders at the open: how an "end of day" signal is executed and what slippage costs
Many trading systems, Ecliptic Alerts among them, work "end of day": they compute the signals with closing prices and execute them at the next open. It is a way of trading that does not require sitting in front of a screen, but it has a cost of its own that should be understood: the difference between the price the system assumed and the price actually obtained. This guide explains how such a signal is executed, step by step, and how much that difference usually costs.
What an "end of day" signal is
The US market closes at 4:00 pm New York time (5:00 or 6:00 pm in Argentina, depending on whether daylight saving time is in force in the United States). Once it closes, the day's prices are fixed, and a mechanical system can use that data to compute what to buy and what to sell. The signal is sent that afternoon or evening: "buy X, sell Y", with quantities.
The important part is that the signal is computed with the close but cannot be executed at the close, because the market is already closed. The first real opportunity is the next day's open, at 9:30 am New York time (10:30 or 11:30 am in Argentina). More than 17 hours pass between one moment and the other, during which the price can move: news, earnings, whatever happened in Asia and Europe. That difference is called the opening gap, and it is part of the process, not an error.
How it is executed: the opening auction
The open on US exchanges is not a chaotic instant: it is an auction. From before 9:30, brokers accumulate buy and sell orders, and at 9:30 the exchange computes the single price that matches the largest possible quantity. Every order that takes part is filled at that same opening price.
To take part, the simplest path is a market order sent before the open. Many brokers offer the specific order type "market on open" (MOO), which ensures the order enters the auction; with others it is enough to send the market order the night before or early in the morning. The practical sequence is:
- The signal arrives in the afternoon or evening.
- The orders are entered in the broker that night or before 9:30 am New York time.
- At 9:30 they are filled in the auction, all at the opening price.
- The next afternoon the next signal arrives, with the position already taken.
Ecliptic Alerts sends the list of signals in the afternoon, with the close, so that each subscriber can enter it in their own broker for execution at the next open. It does not trade anyone's account and does not hold anyone's money; each person decides and executes. This is not financial advice.
Market order vs. limit order
A market order instructs "buy at the available price". A limit order instructs "buy only if the price is this or better". The limit order appears safer, but for an end of day signal it has a problem: if the price opens above the limit, the order does not fill and the trade is missed. And the trades missed in this way are, frequently, the ones that rise the most, because they opened with strength.
A system that was tested with opening prices assumes that all signals are executed. If you execute only the ones that open at a lower price, you are trading a different system, for which there is no backtest. That is why market execution at the open, even if it costs somewhat more, is what keeps actual trading close to what was measured.
What slippage is and what it is made of
Slippage is the difference between the price the system assumed for the trade and the price actually obtained. It has three components:
- The spread: the distance between the best bid and the best ask. In a large US stock it is cents; in a small or thinly traded one, it can be considerably more.
- The impact of the order itself: how much the trader's own purchase moves the price. With a US$10,000 to US$50,000 account trading liquid stocks, it is practically zero: the order is a negligible fraction of the auction's volume.
- The difference between the reference price and the actual one: if a backtest assumes the purchase was made at the close but in practice it was made at the open, the whole gap between the two is "slippage", against or in favor. An honest backtest of an end of day system simulates the purchase at the opening price, not the close. It is one of the first questions to put to any service.
How much it costs, in money
Orders of magnitude, for liquid US stocks and ETFs and small orders: between a few basis points and ten or fifteen (a basis point is 0.01%). On a US$3,000 position, 5 basis points are US$1.50; 15 basis points, US$4.50. The commission, at most international brokers today, ranges from zero to one or two dollars per order. Round trip: a few dollars per trade, plus whatever is lost in the spread.
It is not much, but it is not zero either: a system that trades frequently and makes little per trade can lose its entire edge to this cost alone. A system that trades rarely, with positions that last days or weeks, is affected much less. What matters is not the cost per order but the ratio between that cost and what the system makes per trade on average. If the service does not publish that number or cannot explain how it was simulated, it should be asked. If there is no answer, that is grounds for suspicion.
Three common mistakes
- Executing late. Entering the order at 11 am New York time, when a free moment is available, is not executing at the open: it is trading a different system, at a price that has already moved.
- Filtering signals at discretion. "This one does not look right, it will be skipped". Every skipped signal moves actual trading away from the measured system; afterwards it will not be possible to tell whether the result belongs to the system or to the omissions.
- Reducing the order out of fear of the gap. The gap is included in the backtest if the backtest uses opening prices. Reducing the position manually is changing the rules without measuring.
An example day shows what a real list of signals looks like: https://eclipticalerts.com/?demo=1