# RebookExecutionResponseExecution

The new execution that was rebooked.

## Example Usage

```typescript
import { RebookExecutionResponseExecution } from "@apexfintechsolutions/ascend-sdk/models/components";

let value: RebookExecutionResponseExecution = {};
```

## Fields

| Field                                                                                                                                                                                                                                                                                           | Type                                                                                                                                                                                                                                                                                            | Required                                                                                                                                                                                                                                                                                        | Description                                                                                                                                                                                                                                                                                     | Example                                                                                                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accruedInterestAmount`                                                                                                                                                                                                                                                                         | [components.RebookExecutionResponseAccruedInterestAmount](../../models/components/rebookexecutionresponseaccruedinterestamount.md)                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | The amount of interest that has been accrued in the issuing currency for a single instrument. Requirement of 15 or less integral number and 2 or less fractional precision. Required for FIXED_INCOME trades. Not allowed for trades of other instrument types.                                 | {<br/>"value": "5.00"<br/>}                                                                                                                                                                                                                                                                     |
| `activityId`                                                                                                                                                                                                                                                                                    | *string*                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | The id of the activity in the Ledger that represents this trade.                                                                                                                                                                                                                                | 0H06HAP3A3Y                                                                                                                                                                                                                                                                                     |
| `bondYield`                                                                                                                                                                                                                                                                                     | [components.BondYield](../../models/components/bondyield.md)[]                                                                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | The yield associated with an individual fill of a fixed income trade. Required for FIXED_INCOME trades. Not allowed for trades of other instrument types.                                                                                                                                       |                                                                                                                                                                                                                                                                                                 |
| `commissionAmount`                                                                                                                                                                                                                                                                              | [components.RebookExecutionResponseCommissionAmount](../../models/components/rebookexecutionresponsecommissionamount.md)                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Commission amount of the execution. Requirement of 11 or less integral number and 2 or less fractional precision.                                                                                                                                                                               | {<br/>"value": "5.00"<br/>}                                                                                                                                                                                                                                                                     |
| `executionId`                                                                                                                                                                                                                                                                                   | *string*                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | A ULID that uniquely identifies the execution.                                                                                                                                                                                                                                                  | 02JXQKZG00149WEEJWYGSKJ0XY                                                                                                                                                                                                                                                                      |
| `executionTime`                                                                                                                                                                                                                                                                                 | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Timestamp of when the execution took place. If settlement_date is not provided, this field will be converted into Eastern Time and used to calculate settlement_date.                                                                                                                           | 2024-07-17 12:00:00 +0000 UTC                                                                                                                                                                                                                                                                   |
| `externalId`                                                                                                                                                                                                                                                                                    | *string*                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Used to generate execution_id, should be unique on the day for each source_application caller.                                                                                                                                                                                                  | 0H06HAP3A3Y                                                                                                                                                                                                                                                                                     |
| `grossAmount`                                                                                                                                                                                                                                                                                   | [components.RebookExecutionResponseGrossAmount](../../models/components/rebookexecutionresponsegrossamount.md)                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Gross amount is calculated by the Booking service by multiplying price and quantity and fixing it to 2 fractional precision. Requirement of 11 or less integral number and 2 or less fractional precision. Optionally specifiable. If present, will override the gross_amount calculated above. | {<br/>"value": "56150.00"<br/>}                                                                                                                                                                                                                                                                 |
| `memo`                                                                                                                                                                                                                                                                                          | *string*                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Caller provided but can be used for booking-service to note original trade details when booking into the error account or using the error asset.                                                                                                                                                | Trade failed due to insufficient funds                                                                                                                                                                                                                                                          |
| `name`                                                                                                                                                                                                                                                                                          | *string*                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | The resource name of the execution.                                                                                                                                                                                                                                                             | accounts/{account_id}/trades/{trade_id}/executions/{execution_id}                                                                                                                                                                                                                               |
| `prevailingMarketPrice`                                                                                                                                                                                                                                                                         | [components.RebookExecutionResponsePrevailingMarketPrice](../../models/components/rebookexecutionresponseprevailingmarketprice.md)                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | The price for the instrument that is prevailing in the market. Requirement of 8 or less integral number and 8 or less fractional precision. Required for FIXED_INCOME trades when the broker_capacity is PRINCIPAL.                                                                             | {<br/>"value": "100.00"<br/>}                                                                                                                                                                                                                                                                   |
| `price`                                                                                                                                                                                                                                                                                         | [components.RebookExecutionResponsePrice](../../models/components/rebookexecutionresponseprice.md)                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Price with requirement of 8 or less integral number and 8 or less fractional precision.                                                                                                                                                                                                         | {<br/>"value": "56.15"<br/>}                                                                                                                                                                                                                                                                    |
| `priceAdjustment`                                                                                                                                                                                                                                                                               | [components.RebookExecutionResponsePriceAdjustment](../../models/components/rebookexecutionresponsepriceadjustment.md)                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Price adjustment that will be applied to the net price of the security.                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                 |
| `quantity`                                                                                                                                                                                                                                                                                      | [components.RebookExecutionResponseQuantity](../../models/components/rebookexecutionresponsequantity.md)                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Quantity with requirement of 12 or less integral number and 5 or less fractional precision.                                                                                                                                                                                                     | {<br/>"value": "1000"<br/>}                                                                                                                                                                                                                                                                     |
| `state`                                                                                                                                                                                                                                                                                         | [components.RebookExecutionResponseState](../../models/components/rebookexecutionresponsestate.md)                                                                                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | The state that the trade is in.                                                                                                                                                                                                                                                                 | BOOKED                                                                                                                                                                                                                                                                                          |
| `streetExecutionId`                                                                                                                                                                                                                                                                             | *string*                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | Street-level execution id, unique by day per execution venue.                                                                                                                                                                                                                                   | 00be6285-0623-4260-8c58-g05af2c56ba2                                                                                                                                                                                                                                                            |
| `tradeId`                                                                                                                                                                                                                                                                                       | *string*                                                                                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                                                                              | The unique identifier of the trade this execution belongs to.                                                                                                                                                                                                                                   | 01J0XX2KDN3M9QKFKRE2HYSCQM                                                                                                                                                                                                                                                                      |