> For the complete documentation index, see [llms.txt](https://hashhedge.gitbook.io/hashhedge-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hashhedge.gitbook.io/hashhedge-user-guide/es/trading-terminal/trading-basics.md).

# Long, short, P\&L y precios

Unos cuantos conceptos clave que hacen que el resto del terminal tenga sentido.

***

## Long vs. short

Los futuros te permiten ganar en ambas direcciones:

* **Long (Buy)**: ganas cuando el precio **sube**.
* **Short (Sell)**: ganas cuando el precio **baja**.

Así que si esperas una caída, puedes abrir un short y ganar mientras el precio baja.

## Unrealized PnL vs. Realized PnL

* **Unrealized PnL**: la ganancia o pérdida de tus posiciones **abiertas** al precio actual. Se mueve en tiempo real y todavía no está fijada.
* **Realized PnL**: el resultado **después** de cerrar una posición. Esto es lo que realmente se liquida en tu saldo.

También verás **ROE%** junto al PnL. Ese es tu rendimiento medido contra el **margen** que pusiste en la operación, así que con apalancamiento un movimiento pequeño de precio se traduce en un ROE% mayor.

<figure><img src="/files/k9kJ5m2hv9s04R7qGImC" alt=""><figcaption><p>Una posición abierta: Unrealized PnL(ROE), Est.Liq.Price y Margin Ratio</p></figcaption></figure>

## Mark Price vs. Last Price

* **Last Price**: el precio de la operación más reciente en el mercado.
* **Mark Price**: un precio "justo" suavizado que la plataforma usa para el **Unrealized PnL y la liquidación**, diseñado para ignorar mechas cortas y manipuladas.

Los dos pueden divergir brevemente. Esto importa porque tu **liquidación** y tu P\&L se basan en el **Mark Price**, no en el Last Price, y porque un disparo de TP/SL se puede configurar contra cualquiera de los dos (mira [Take Profit y Stop Loss](/hashhedge-user-guide/es/trading-terminal/take-profit-stop-loss.md)).

***

A continuación, aprende a dimensionar y proteger una operación en [Gestión del riesgo](/hashhedge-user-guide/es/rules/risk-management.md) y [Liquidación y margen](/hashhedge-user-guide/es/rules/liquidation.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hashhedge.gitbook.io/hashhedge-user-guide/es/trading-terminal/trading-basics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
