Veli · JSON Structure

Veli Performance Response Structure

Portfolio performance metrics

Type: object Properties: 7
CryptoDeFiFinanceInvestmentPortfolio Management

PerformanceResponse is a JSON Structure definition published by Veli, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

portfolioId period totalReturn annualizedReturn sharpeRatio startValue endValue

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-performance-response-structure.json",
  "name": "PerformanceResponse",
  "description": "Portfolio performance metrics",
  "type": "object",
  "properties": {
    "portfolioId": {
      "type": "string"
    },
    "period": {
      "type": "string",
      "example": "1m"
    },
    "totalReturn": {
      "type": "double",
      "description": "Total return for period (e.g. 0.08 = 8%)",
      "example": 0.08
    },
    "annualizedReturn": {
      "type": "double",
      "description": "Annualized return",
      "example": 0.96
    },
    "sharpeRatio": {
      "type": "double",
      "description": "Sharpe ratio",
      "example": 1.8
    },
    "startValue": {
      "type": "double",
      "description": "Portfolio value at start of period",
      "example": 4861.81
    },
    "endValue": {
      "type": "double",
      "description": "Portfolio value at end of period",
      "example": 5250.75
    }
  }
}