> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# WindowedDetailedCurrencyWalletStats

> The currency stats for a wallet over a time window. WindowedDetailedCurrencyWalletStats type reference: every field and its type.

## GraphQL

```
type WindowedDetailedCurrencyWalletStats {
  volumeUsd: String!
  volumeUsdAll: String!
  heldTokenAcquisitionCostUsd: String!
  soldTokenAcquisitionCostUsd: String!
  realizedProfitUsd: String!
  realizedProfitUsdExNative: String
  averageProfitUsdPerTrade: String!
  averageSwapAmountUsd: String!
  realizedProfitPercentage: Float!
  realizedProfitPercentageExNative: Float
}
```

### Used By

**Returned by**

* [detailedWalletStats](https://docs.codex.io/api-reference/queries/detailedwalletstats.md): Returns detailed stats for a wallet.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.