From 124c051432a37139acc25a09ecebc5f3349d807d Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 22 Apr 2025 07:07:53 +0200 Subject: [PATCH] docs: add "realized_profit" field to trade object docs closes #11668 --- docs/trade-object.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/trade-object.md b/docs/trade-object.md index 26f5e9131..78b130fcc 100644 --- a/docs/trade-object.md +++ b/docs/trade-object.md @@ -25,6 +25,7 @@ The following attributes / properties are available for each individual trade - | `close_date_utc` | datetime | Timestamp when trade was closed - in UTC. | | `close_profit` | float | Relative profit at the time of trade closure. `0.01` == 1% | | `close_profit_abs` | float | Absolute profit (in stake currency) at the time of trade closure. | +| `realized_profit` | float | Absolute already realized profit (in stake currency) while the trade is still open. | | `leverage` | float | Leverage used for this trade - defaults to 1.0 in spot markets. | | `enter_tag` | string | Tag provided on entry via the `enter_tag` column in the dataframe. | | `is_short` | boolean | True for short trades, False otherwise. |