Veli · Schema

PerformanceResponse

Portfolio performance metrics

CryptoDeFiFinanceInvestmentPortfolio Management

Properties

Name Type Description
portfolioId string
period string
totalReturn number Total return for period (e.g. 0.08 = 8%)
annualizedReturn number Annualized return
sharpeRatio number Sharpe ratio
startValue number Portfolio value at start of period
endValue number Portfolio value at end of period
View JSON Schema on GitHub

JSON Schema

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