> For the complete documentation index, see [llms.txt](https://docs.notional.finance/v3-technical-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.notional.finance/v3-technical-docs/subgraph-guides/notional-v3-subgraphs/fetch-historical-trades.md).

# Fetch Historical Trades

## Get all fCash historical trades

This query can be used to fetch historical fCash trades. This includes fCash trades occurring upon nToken redemptions and nToken mints above the leverage threshold.

```
{
  transferBundles(orderBy:timestamp, where:{bundleName_in:["Buy fCash","Sell fCash"], transfers_:{tokenType:"fCash"}}){
    bundleName
    timestamp
    transfers{
      from{id}
      to{id}
      token{symbol}
      value
      valueInUnderlying
    }
  }
}
```
