# Post-Trade Report

To access a Post-Trade Report (PTR) for any trade order, go to the Orders tab under the trading chart, then click the three dots icon next to any order you want to view, and select "View Report" from the dropdown:

<figure><img src="https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2FchBisSIJsVN6WZNhtI6L%2FNew%20PTR%20UX.png?alt=media&#x26;token=96de8109-6e79-41a3-94c5-6a4bd5e31db0" alt="" width="367"><figcaption></figcaption></figure>

This will open your trade's PTR in a new tab:

<figure><img src="https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2FBufHSkIjtc3OWGzS8Wrk%2F1%20(2).png?alt=media&#x26;token=c5814d5e-686d-49ce-847a-4758e7e9e43a" alt=""><figcaption></figcaption></figure>

1. Basic information about your trade
2. **Trade Order Analytics:**\
   **Order Amount** - Sell amount of the first token (expressed in # of tokens)\
   **Filled Amount** - The amount of tokens bought (expressed in # of tokens)\
   **Avg Price** - Average Price per token (can be toggled - default is Buy Asset/Sell Asset), exclusive of gas and Definitive fees\
   **Arrival Price** - Fiat price per token of the first fill in the trade order (can be toggled)\
   **Arrival Value** - Expected fiat value of the trade order based on price of the first fill in the trade order\
   **Filled Value** - Fiat value of the filled portion of the trade order, calculated using average price.\
   **Total Fees** - Definitive Trading Fees + Gas (Network) Fees\
   **To Notional** - "To" values are net of Definitive's trading fees, gas, and any slippage and price impact.    \
   Fees - Fees are typically taken from the stablecoin (e.g. USDC, DAI) or native gas token (ETH, WETH, SOL, AVAX, etc) regardless of target or contra asset.  If the swap is between two altcoins, then fees are generally taken from the contra/quote asset. &#x20;
3. The chart compares order-filled price per segment vs. the average price during the duration of the TWAP order.
4. Smart Order Routing: Each order is filled proportionally by onchain venues with the deepest liquidity, quote reliability, and non-exploitative execution.
5. The table breaks down the order details by each segment in a TWAP. The Trade No. represents the Segment #. Market and Limit orders would only have 1 line.
6. Post-Trade Reporting can be exported to CSV (see below) or consumed [via API](https://docs.definitive.fi/developers/trading-api).  Contact us for more details or see our [API Docs](https://ddp.definitive.fi/overview) to request an API key.

### **Generate CSV export** <a href="#generate-csv-export" id="generate-csv-export"></a>

Download your transaction history from your Portfolio Page and upload it to your tax platform of choice. We support a full raw export and formatted exports for Koinly and Cointracker. To export, go to your [Portfolio Page](https://app.definitive.fi/portfolio)​

1. Click Export Order History.
2. Select CSV export
3. Select year to filter for all transactions made in that year.
4. Under Format, you can select Raw Export or a tax platform-specific format.
5. Click Generate Export to download a CSV export of your trade history.

<figure><img src="https://2602042957-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmpTSznjAymapLGhnyG%2Fuploads%2F7im7CXc7VpSqjHwJLNAo%2FExport%20csv.png?alt=media&#x26;token=5469e66a-df79-4fac-a08a-9ad5f6d6ce88" alt=""><figcaption></figcaption></figure>

### Tax Reporting

For more info on using Definitive post-trade reporting for tax reporting, including 1-click integrations with Awaken Tax, Cointracker and Koinly, see our [Tax Reporting Guide](#tax-reporting)
