---
title: "Get Portfolio Summary"
method: GET
path: "/v1/portfolio/summary"
tags: ["Portfolio"]
---

# Get Portfolio Summary

`GET /v1/portfolio/summary`

Returns current portfolio metrics for the authenticated account: margin balance, net invested, PnL, volume metrics, and Sharpe ratios (when enabled and sufficient data).

## Response `200`

Portfolio summary with metrics and optional Sharpe ratio data

- object
  - `success` boolean, required — Whether the request was successful
  - `error` string — Error message, present only on failure
  - `error_code` string — Semantic error code. See each endpoint's error responses for the specific codes it can return.
  - `deprecated` string — Deprecation notice, if applicable
  - `result` PortfolioSummaryRes — Current portfolio metrics and optional Sharpe ratios
    - `marginBalance` string — Current margin account balance
    - `netInvested` string — Net invested amount
    - `totalPnL` string — Total unrealized + realized PnL
    - `realizedPnl` string — Realized PnL
    - `volume7d` string — Trading volume over last 7 days
    - `volume30d` string — Trading volume over last 30 days
    - `volumeAllTime` string — All-time trading volume
    - `sharpe30d` SharpeRatioData — Calculated Sharpe ratio and related metadata
      - `sharpeRatio` string — Annualized Sharpe ratio
      - `daysOfData` integer — Number of days of data used in the calculation
      - `meanDailyROI` string — Mean daily return
      - `stdDevROI` string — Standard deviation of daily returns
    - `sharpeAllTime` SharpeRatioData — Calculated Sharpe ratio and related metadata
      - `sharpeRatio` string — Annualized Sharpe ratio
      - `daysOfData` integer — Number of days of data used in the calculation
      - `meanDailyROI` string — Mean daily return
      - `stdDevROI` string — Standard deviation of daily returns

## Other responses

- `400` — Bad request. The request was malformed or failed validation.
- `401` — Authentication required. Provide a valid JWT or API key.
- `403` — Access denied. The authenticated account does not have permission.
- `429` — Rate limit exceeded. Slow down request frequency.
- `500` — Internal server error.

---

[API](https://skmtc.net/ondoperps/apis/ondo-perps-rest-api.md) · [All operations](https://skmtc.net/ondoperps/apis/ondo-perps-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ondoperps/ondo-perps-rest-api/revisions/39df6b2fa672/schema)
