¿Qué es la Tasa K?
Es el precio ponderado por volumen de las órdenes completadas en las 24 horas que terminan en la última orden completada, no de anuncios publicados:
Tasa K = Σ(precio × monto) ÷ Σ monto
Cada orden pesa según la moneda que movió. Ejemplo: 3 órdenes a 785 CUP/USD que suman 3000 CUP y una a 750 de 5000 CUP dan (785×3000 + 750×5000) ÷ 8000 = 763,13.
Así la Tasa K solo cambia cuando se completa una orden nueva: no se mueve sola con el paso del tiempo, y cada valor es «la Tasa K tras tal orden». Si la última es de hace más de 24 horas, la cabecera dice de cuándo es.
¿Qué mide la Tasa K?
El precio al que de verdad se cambia la moneda en operaciones con bitcoin. En CUP/USD es una tasa implícita: los CUP pagados por cada BTC divididos por el precio del BTC en dólares. No es el precio del dólar en efectivo ni en transferencias: si comprar o vender bitcoin con CUP lleva un sobreprecio propio, también está en la Tasa K. CUP/BTC y CUP/sat no pasan por el dólar.
Casi todas las órdenes son a precio de mercado: el nodo calcula los sats con su precio de referencia (casi siempre el de Yadio) y la prima que pone quien publica la orden, así que su precio es aproximadamente referencia ÷ (1 − prima). Por eso la Tasa K sigue a esa referencia, y lo que queda por encima o por debajo de ella («sobre Yadio» en la cabecera) son sobre todo las primas con las que se está operando. Las órdenes a precio fijo (🔒 en el libro de órdenes) no dependen de ella.
Las compras y las ventas de BTC se cierran a precios distintos, porque cada lado pone su prima; la Tasa K las pondera todas juntas por su monto. En la ventana de la Tasa K de ahora:
Es solo información: la Tasa K no cambia. Lo mismo se ve al pasar el ratón sobre ella. «Sin saber» son órdenes con prima 0 de las que no se vio la versión pending, la única que dice si eran a precio fijo o a mercado (con prima distinta de 0 son siempre a mercado: Mostro no admite prima con precio fijo).
¿Cómo se calcula el precio de cada orden?
precio = moneda pagada ÷ BTC recibidos ÷ BTC/USD, con el BTC/USD del momento en que se tomó la orden, que es cuando Mostro fija los sats (si no se vio ese momento, el de cuando se completó).
Si el sitio tiene su servidor, cada orden trae el BTC/USD que este le asignó y guardó: el que publicaba su nodo en ese momento (su mostro-rates firmado) o, si no lo hay (órdenes de antes de que el servidor las archivara, o un nodo que no publica sus precios), el de Coinbase en ese minuto, y si falla, el de Yadio. Sin servidor, la página usa la vela horaria de Coinbase y, si no responde, el BTC/USD actual, y avisa de que el USD es aproximado.
Por eso entre las órdenes con el BTC/USD de Coinbase y las que llevan el del nodo puede verse un pequeño salto en CUP/USD: el nodo combina sus propias fuentes de precio y Coinbase es un solo mercado, aunque suelen diferir menos de un 0,1 %. No es un movimiento del mercado: CUP/BTC y CUP/sat no cambian, porque salen solo del evento de la orden.
¿Qué es CUP/sat?
Cuántos CUP cuesta 1 sat: CUP pagados ÷ sats de cada orden. Sale directamente del evento de la orden, sin usar el precio de BTC/USD de Coinbase ni de Yadio, así que es la medida más directa y fácil de comprobar. CUP/BTC es lo mismo multiplicado por 100 millones.
¿Qué muestran Precio, Velas y Ponderado?
- Precio: un punto por orden ejecutada, o por periodo con el precio ponderado de ese periodo.
- Velas: apertura, máximo, mínimo y cierre de cada periodo.
- Ponderado: el precio ponderado de las 24 horas anteriores a cada punto. Con un punto por orden, es la Tasa K tras esa orden; por periodo, el de las 24 horas hasta su cierre (o hasta ahora, en el actual), que se mueve con el tiempo y difiere de la Tasa K si el periodo cerró sin órdenes.
Los periodos van de 1 hora a 1 año (1h, 4h, 1D, 1W, 1M, 1Y). El volumen se ve en la parte baja de la gráfica y, al pasar el ratón, la leyenda muestra los valores de ese punto.
¿De dónde salen los datos?
De los nodos Mostro configurados en este sitio (). Cada orden es un evento Nostr (NIP-69, kind 38383) que se lee directamente de los relays y se comprueba su firma, así que cualquiera puede recalcular la misma tasa.
Si el sitio tiene su servidor, la página carga primero lo que este ha guardado (el historial que los relays ya borraron, los precios de cada orden y la Tasa K firmada) y comprueba sus eventos igual que los de los relays; a estos les pide solo los últimos días, y avisa si el servidor no tiene alguna orden que ellos sí. Sin servidor, todo sale de los relays.
¿Cómo compruebo una orden?
Haz clic en una orden de la tabla «Órdenes ejecutadas», o en su punto de la gráfica en modo Orden. Se abre su evento Nostr firmado: el JSON completo, su id y si la firma se verificó. Puedes copiarlo o verificarlo en Nostr Inspect, otra web que lo busca directamente en los relays. En las órdenes abiertas, el enlace muestra siempre su versión actual.
¿Cuánto historial hay?
Los relays borran las órdenes a los 15 días (y algunos antes). Sin servidor, la página solo ve eso, y los periodos mensual y anual muestran solo lo que queda en los relays.
Si el sitio tiene su servidor, este guarda todo lo que publica el nodo desde que se puso en marcha, y el operador del nodo puede añadir las órdenes anteriores desde la base de datos de Mostro: esas no tienen evento firmado y se marcan con ◌.
¿Qué es el libro de órdenes?
Las órdenes abiertas que aún nadie ha tomado. Las de precio de mercado se calculan con los precios que publica su propio nodo, referencia del nodo ÷ (1 − prima), que es como Mostro calcula los sats; si el nodo no publica los suyos, se estiman con la API de Yadio y llevan «≈», y si tampoco hay, aparecen sin precio («—»). Las marcadas con 🔒 tienen precio fijo. Si alguien compra por encima de lo que otro vende, el libro aparece como «cruzado».
¿Qué órdenes cuentan en la Tasa K?
La Tasa K sigue siempre las mismas reglas, para que todos vean la misma cifra:
- Cuentan las órdenes completadas en las 24 horas hasta la última orden completada, en la moneda elegida, de los nodos configurados en este sitio: firmadas por el nodo (la firma se comprueba en este navegador) o, si su evento ya no está en los relays, de la base de datos del nodo, sin firma y marcadas con ◌ (ahí se confía en quien publica este sitio).
- No cuentan las que no llegaron a completarse (abiertas, tomadas, canceladas, caducadas o en disputa): no hubo intercambio.
- Ni las de los métodos de pago que quien publica este sitio oculta; aquí: . Suelen ocultarse los que se negocian a otra tasa en ese mercado o los que se usan por error. Los métodos de cada moneda son los de la app de Mostro: lo que alguien escribe a mano y no está en esa lista es «Otros», y «Pruebas» son las órdenes de prueba («prueba», «test», «no tomar»).
- Ni las que no tienen un monto en moneda y en sats mayor que cero.
Sí cuentan los precios extremos (no se descarta ninguno: la tasa muestra lo que pasa en el mercado) y tanto las órdenes a precio de mercado como las de precio fijo.
Para calcular con otros métodos de pago o nodos, cámbialos en el menú «Método de pago» de la gráfica o en la barra de nodos: aparece Tu selección, el precio ponderado de las 24 horas hasta su última orden con lo que elegiste. La gráfica y las tablas también la siguen; la Tasa K de la cabecera no cambia. ✕ vuelve a los de por defecto.
¿Qué es la «Referencia Yadio»?
La tasa de referencia de Yadio para la moneda, que es la que usa Mostro para las órdenes a precio de mercado. Sirve para comparar con la Tasa K.
Cada nodo elige de dónde saca sus precios: Yadio, o varias fuentes combinadas (CoinGecko, Blockchain.com, fuentes del mercado local…). Si el nodo usa algo más que Yadio, la cabecera dice «Referencia del nodo» y, al pasar el ratón, se ven sus fuentes. Con varios nodos, es la del más reciente de los que tienen órdenes en esa moneda: todos publican todas las monedas, cada uno con su propia referencia.
No se consulta a Yadio: cada pocos minutos el nodo publica en Nostr, firmados, los precios que está usando (evento mostro-rates, kind 30078), y la página los lee por la misma conexión que las órdenes. Así la referencia y los precios de mercado del libro de órdenes son exactamente los del nodo y se pueden verificar. El nodo los sigue usando hasta 30 minutos aunque no pueda actualizarlos, y la página también. Si el nodo no los publica, la página los pide a la API de Yadio; al pasar el ratón sobre la referencia se ve de dónde salen.
¿Puedo ver mi propio nodo Mostro?
Sí. Quien despliega el sitio lo configura en el archivo .env, y cualquier visitante puede cambiarlo en la URL:
?mostro=npub…,npub…&relays=wss://…&fiat=…&lang=es
What is the Tasa K?
It is the volume-weighted price of orders completed in the 24 hours that end at the last completed order, not of published ads:
Tasa K = Σ(price × amount) ÷ Σ amount
Each order weighs by the currency it moved. Example: 3 orders at 785 CUP/USD totalling 3,000 CUP and one at 750 for 5,000 CUP give (785×3000 + 750×5000) ÷ 8000 = 763.13.
So the Tasa K changes only when a new order is completed: it doesn't move by itself as time passes, and each value is «the Tasa K after that order». If the last one is more than 24 hours old, the header says how old.
What does the Tasa K measure?
The price at which the currency is actually exchanged in bitcoin trades. In CUP/USD it is an implied rate: the CUP paid for each BTC divided by the price of BTC in dollars. It is not the price of cash dollars or transfers: if buying or selling bitcoin with CUP carries a premium of its own, it is in the Tasa K too. CUP/BTC and CUP/sat don't go through the dollar.
Almost all orders are at market price: the node calculates the sats with its reference price (almost always Yadio's) and the premium set by whoever publishes the order, so their price is roughly reference ÷ (1 − premium). That is why the Tasa K follows that reference, and what lies above or below it («above Yadio» in the header) is mostly the premiums people are trading at. Fixed-price orders (🔒 in the order book) don't depend on it.
BTC buys and sells close at different prices, because each side sets its premium; the Tasa K weighs them all together by their amount. In the window of the current Tasa K:
This is for information only: the Tasa K doesn't change. The same shows when hovering over it. «Unknown» are orders with premium 0 whose pending version wasn't seen, the only one that says whether they were at fixed or market price (with a premium other than 0 they are always at market: Mostro doesn't allow a premium with a fixed price).
How is the price of each order calculated?
price = currency paid ÷ BTC received ÷ BTC/USD, using the BTC/USD of the moment the order was taken, which is when Mostro fixes the sats (if that moment wasn't seen, the moment it was completed).
If the site has its server, each order comes with the BTC/USD the server gave it and stored: the one its node published at that moment (its signed mostro-rates) or, without it (orders from before the server archived them, or a node that doesn't publish its prices), Coinbase's for that minute, and if that fails, Yadio's. Without a server, the page uses Coinbase's hourly candle and, if it doesn't respond, the current BTC/USD, and warns that USD is approximate.
So between the orders with Coinbase's BTC/USD and those with the node's there may be a small jump in CUP/USD: the node combines its own price sources and Coinbase is a single market, although they usually differ by less than 0.1%. It is not a market move: CUP/BTC and CUP/sat don't change, because they come only from the order's event.
What is CUP/sat?
How many CUP 1 sat costs: CUP paid ÷ sats of each order. It comes straight from the order event, without the BTC/USD price from Coinbase or Yadio, so it is the most direct measure and the easiest to check. CUP/BTC is the same multiplied by 100 million.
What do Price, Candles and Weighted show?
- Price: one point per executed order, or per period with the weighted price of that period.
- Candles: open, high, low and close of each period.
- Weighted: the weighted price of the 24 hours before each point. With one point per order, it is the Tasa K after that order; per period, that of the 24 hours up to its close (or now, in the current one), which moves with time and differs from the Tasa K if the period closed without orders.
Periods go from 1 hour to 1 year (1h, 4h, 1D, 1W, 1M, 1Y). Volume is shown at the bottom of the chart and, when hovering, the legend shows that point's values.
Where does the data come from?
From the Mostro nodes configured on this site (). Each order is a Nostr event (NIP-69, kind 38383) read directly from relays with its signature checked, so anyone can recompute the same rate.
If the site has its server, the page first loads what it has kept (the history the relays already deleted, each order's prices and the signed Tasa K) and checks its events as those of the relays; it asks these only for the last days, and warns if the server lacks an order they have. Without a server, everything comes from the relays.
How do I check an order?
Click an order in the «Executed orders» table or the order book, or its point on the chart in Order mode. Its signed Nostr event opens: the full JSON, its id and whether the signature was verified. You can copy it or verify it on Nostr Inspect, a separate site that fetches it straight from the relays. For open orders, the link always shows their current version.
How much history is there?
Relays delete orders after 15 days (some sooner). Without a server, the page only sees that, and the monthly and yearly periods only show what is left on the relays.
If the site has its server, it keeps everything the node publishes since it was started, and the node's operator can add the earlier orders from the Mostro database: those have no signed event and are marked with ◌.
What is the order book?
Open orders nobody has taken yet. Market-price ones are calculated with the prices their own node publishes, node reference ÷ (1 − premium), which is how Mostro calculates the sats; if the node doesn't publish its own, they are estimated with Yadio's API and marked «≈», and if there is none either, they show without a price («—»). Those marked with 🔒 have a fixed price. If someone buys above what someone else sells, the book shows as «crossed».
Which orders count in the Tasa K?
The Tasa K always follows the same rules, so everyone sees the same figure:
- They count: orders completed in the 24 hours up to the last completed order, in the chosen currency, from the nodes configured on this site: signed by the node (the signature is checked in this browser) or, if their event is no longer on the relays, from the node's database, unsigned and marked ◌ (there you rely on whoever publishes this site).
- They don't count: orders that were never completed (open, taken, canceled, expired or in dispute): no exchange took place.
- Nor those with payment methods hidden by whoever publishes this site; here: . Usually hidden are the ones that trade at a different rate in that market or are used by mistake. Each currency's methods are the ones in the Mostro app: anything typed by hand that isn't on that list is «Other», and «Tests» are test orders («prueba», «test», «no tomar»).
- Nor those without an amount in currency and in sats greater than zero.
Extreme prices do count (none is discarded: the rate shows what happens in the market), and so do both market-price and fixed-price orders.
To calculate with other payment methods or nodes, change them in the chart's «Payment method» menu or in the nodes bar: Your selection appears, the weighted price of the 24 hours up to its last order with what you chose. The chart and the tables follow it too; the Tasa K in the header doesn't change. ✕ goes back to the default ones.
What is the «Yadio reference»?
Yadio's reference rate for the currency, which Mostro uses for market-price orders. It is there to compare with the Tasa K.
Each node chooses where its prices come from: Yadio, or several sources combined (CoinGecko, Blockchain.com, local-market sources…). If the node uses more than Yadio, the header says «Node reference» and, when hovering, shows its sources. With several nodes, it is the newest of those that have orders in that currency: every node publishes every currency, each at its own reference.
Yadio isn't queried: every few minutes the node publishes on Nostr, signed, the prices it is using (mostro-rates event, kind 30078), and the page reads them over the same connection as the orders. So the reference and the market prices in the order book are exactly the node's and can be verified. The node keeps using them for up to 30 minutes when it can't update them, and so does the page. If the node doesn't publish them, the page asks Yadio's API; hovering over the reference shows where they come from.
Can I see my own Mostro node?
Yes. Whoever deploys the site configures it in the .env file, and any visitor can change it in the URL:
?mostro=npub…,npub…&relays=wss://…&fiat=…&lang=en