> For the complete documentation index, see [llms.txt](https://city-protocol.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://city-protocol.gitbook.io/docs/software-development-kit/vault/portfolio-sdk.md).

# Portfolio SDK

{% hint style="info" icon="circle-quarter-stroke" %}
The `CityPortfolioClient` handles subgraph query methods for indexed portfolio and activity data. Use this alongside `CityClient` (which handles live on-chain reads) for a complete frontend experience.
{% endhint %}

### Create A Portfolio Client

```tsx
import { CityPortfolioClient } from "@cityprotocol/core";
const portfolioClient = new CityPortfolioClient();
// By default, uses the City subgraph endpoint.
```
