From f50a633f8759437e5fc9e55b693cbb7a258cf326 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 18 Sep 2024 08:10:45 +0200 Subject: [PATCH] docs: order table formatting --- docs/trade-object.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/trade-object.md b/docs/trade-object.md index ec9cf14ec..4962d6b30 100644 --- a/docs/trade-object.md +++ b/docs/trade-object.md @@ -130,20 +130,20 @@ Most properties here can be None as they are dependent on the exchange response. | Attribute | DataType | Description | |------------|-------------|-------------| -`trade` | Trade | Trade object this order is attached to -`ft_pair` | string | Pair this order is for -`ft_is_open` | boolean | is the order filled? -`order_type` | string | Order type as defined on the exchange - usually market, limit or stoploss -`status` | string | Status as defined by ccxt. Usually open, closed, expired or canceled -`side` | string | Buy or Sell -`price` | float | Price the order was placed at -`average` | float | Average price the order filled at -`amount` | float | Amount in base currency -`filled` | float | Filled amount (in base currency) -`remaining` | float | Remaining amount -`cost` | float | Cost of the order - usually average * filled (*Exchange dependent on futures, may contain the cost with or without leverage and may be in contracts.*) -`stake_amount` | float | Stake amount used for this order. *Added in 2023.7.* -`order_date` | datetime | Order creation date **use `order_date_utc` instead** -`order_date_utc` | datetime | Order creation date (in UTC) -`order_fill_date` | datetime | Order fill date **use `order_fill_utc` instead** -`order_fill_date_utc` | datetime | Order fill date +| `trade` | Trade | Trade object this order is attached to | +| `ft_pair` | string | Pair this order is for | +| `ft_is_open` | boolean | is the order filled? | +| `order_type` | string | Order type as defined on the exchange - usually market, limit or stoploss | +| `status` | string | Status as defined by ccxt. Usually open, closed, expired or canceled | +| `side` | string | Buy or Sell | +| `price` | float | Price the order was placed at | +| `average` | float | Average price the order filled at | +| `amount` | float | Amount in base currency | +| `filled` | float | Filled amount (in base currency) | +| `remaining` | float | Remaining amount | +| `cost` | float | Cost of the order - usually average * filled (*Exchange dependent on futures, may contain the cost with or without leverage and may be in contracts.*) | +| `stake_amount` | float | Stake amount used for this order. *Added in 2023.7.* | +| `order_date` | datetime | Order creation date **use `order_date_utc` instead** | +| `order_date_utc` | datetime | Order creation date (in UTC) | +| `order_fill_date` | datetime | Order fill date **use `order_fill_utc` instead** | +| `order_fill_date_utc` | datetime | Order fill date |