{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml","oas-openapi/api.yaml":"oas-openapi/api.yaml"},"props":{"metadata":{"markdoc":{"tagList":["openapi-code-sample","json-schema"]},"type":"markdown"},"seo":{"title":"Performance","description":"Fondo is the ground breaking open finance platform that lets you focus on what matters","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"performance","__idx":0},"children":["Performance"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"time-weighted-return-twr","__idx":1},"children":["Time-Weighted Return (TWR)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The API provides ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Time-Weighted Return (TWR)"]}," for portfolio performance. TWR measures how the investments themselves have performed, independent of the timing and size of deposits and withdrawals — consistent with how fund factsheets report returns."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For the full methodology — including formulas, Money-Weighted Return (MWR), and when to use each — see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/fondo-wiki/performance-calculations"},"children":["Performance Calculations"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get-account-performance","__idx":2},"children":["Get account performance"]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"oas-openapi/api.yaml","operationId":"getAccountPerformance","parameters":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Returns an array of daily performance entries for the account. Each entry contains the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date"]}," and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dayReturn"]}," — the daily return expressed as a decimal."]},{"$$mdtype":"Tag","name":"JsonSchema","attributes":{"schema":{"$ref":"../../../openapi/models/performance/performance_entry.yaml"},"options":{},"schemaResolved":{"openapi":"3.1.0","components":{"schemas":{"__root":{"$ref":"#/components/schemas/performance_entry"},"performance_entry":{"$id":"/models/performance/performance_entry.yaml","type":"object","required":["date","dayReturn","dayResult","cumulativeReturn"],"properties":{"date":{"type":"string","format":"date","description":"The date of the performance entry.","example":"2025-01-02"},"dayReturn":{"type":"number","description":"The daily return as a decimal (e.g. 0.0032 = 0.32%).","example":0.0032},"dayResult":{"type":"number","description":"The absolute SEK profit/loss for the day\n","example":120.12},"cumulativeReturn":{"type":"number","example":-0.01,"description":"Cumulative return since account inception as a fraction (e.g. 0.05 means +5%)\n"}}}}}},"schemaResolvedErrors":[]},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"date-filtering","__idx":3},"children":["Date filtering"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["By default the endpoint returns the full performance history. To limit to a specific range, pass both ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["end"]}," as ISO 8601 date query parameters (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["?start=2025-01-01&end=2025-03-01"]},"). Both must be provided together."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cumulative-returns","__idx":4},"children":["Cumulative returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Documentation for cumulative returns is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["coming soon"]},"."]}]},"headings":[{"value":"Performance","id":"performance","depth":1},{"value":"Time-Weighted Return (TWR)","id":"time-weighted-return-twr","depth":2},{"value":"Get account performance","id":"get-account-performance","depth":2},{"value":"Date filtering","id":"date-filtering","depth":2},{"value":"Cumulative returns","id":"cumulative-returns","depth":2}],"frontmatter":{"seo":{"title":"Performance"}},"lastModified":"2026-04-14T12:45:03.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/api-guide/account-data/performance","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}