Veli · JSON Structure

Veli Strategy Structure

Investment strategy definition with allocations and rules

Type: object Properties: 10
CryptoDeFiFinanceInvestmentPortfolio Management

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

Properties

id name description category risk assets rebalanceThreshold managementFee performanceYTD performanceAllTime

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-strategy-structure.json",
  "name": "Strategy",
  "description": "Investment strategy definition with allocations and rules",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Strategy identifier",
      "example": "strat-btc-eth-index"
    },
    "name": {
      "type": "string",
      "description": "Strategy display name",
      "example": "BTC-ETH Index"
    },
    "description": {
      "type": "string",
      "description": "Strategy description"
    },
    "category": {
      "type": "string",
      "enum": [
        "index",
        "theme",
        "custom"
      ],
      "description": "Strategy category",
      "example": "index"
    },
    "risk": {
      "type": "string",
      "enum": [
        "conservative",
        "moderate",
        "aggressive"
      ],
      "description": "Risk level",
      "example": "moderate"
    },
    "assets": {
      "type": "array",
      "description": "Asset allocations",
      "items": {
        "$ref": "#/components/schemas/AssetAllocation"
      }
    },
    "rebalanceThreshold": {
      "type": "double",
      "description": "Drift threshold that triggers rebalancing (e.g. 0.05 = 5%)",
      "example": 0.05
    },
    "managementFee": {
      "type": "double",
      "description": "Annual management fee rate (e.g. 0.01 = 1%)",
      "example": 0.01
    },
    "performanceYTD": {
      "type": "double",
      "description": "Year-to-date return",
      "example": 0.23
    },
    "performanceAllTime": {
      "type": "double",
      "description": "All-time return",
      "example": 1.45
    }
  }
}