---
title: "Get PnL calendar"
method: GET
path: "/v1/portfolio/pnl-calendar"
tags: ["Portfolio"]
---

# Get PnL calendar

`GET /v1/portfolio/pnl-calendar`

Get daily PnL data for a calendar month. daily_pnl = trade equity delta (transfers excluded). Returns per-day values, month total, win days count, and best day.

## Query parameters

- `account` string
- `period` string
- `utc_offset_minutes` integer
- `year` integer
- `month` integer

## Response `200`

A successful response.

- ApiGetPnLCalendarResponse — GetPnLCalendarResponse returns daily PnL data for a range.
  - `account` string
  - `days` GetPnLCalendarResponsePnLCalendarDay[]
    - `date` string, int64 — Local-day midnight as Unix timestamp (nanoseconds). When utc_offset_minutes != 0, this is local midnight expressed as a UTC epoch (not actual UTC midnight).
    - `pnl` string
  - `months` GetPnLCalendarResponsePnLCalendarMonthSummary[]
    - `month` string, int64
    - `month_pnl` string
    - `win_days` integer
    - `best_day` GetPnLCalendarResponsePnLCalendarDay — PnLCalendarDay represents PnL for a single day.
      - `date` string, int64 — Local-day midnight as Unix timestamp (nanoseconds). When utc_offset_minutes != 0, this is local midnight expressed as a UTC epoch (not actual UTC midnight).
      - `pnl` string
  - `win_days` integer
  - `best_day` GetPnLCalendarResponsePnLCalendarDay — PnLCalendarDay represents PnL for a single day.
    - `date` string, int64 — Local-day midnight as Unix timestamp (nanoseconds). When utc_offset_minutes != 0, this is local midnight expressed as a UTC epoch (not actual UTC midnight).
    - `pnl` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rise/apis/risex-rest-api.md) · [All operations](https://skmtc.net/rise/apis/risex-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rise/risex-rest-api/revisions/194af8339c0d/schema)
