Veli · Schema

Order

Buy or sell order signal from Veli strategy engine

CryptoDeFiFinanceInvestmentPortfolio Management

Properties

Name Type Description
side string Order side
symbol string Asset to trade
quantity number Quantity to trade
estimatedValue number Estimated order value in base currency
View JSON Schema on GitHub

JSON Schema

veli-order-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-order-schema.json",
  "title": "Order",
  "description": "Buy or sell order signal from Veli strategy engine",
  "type": "object",
  "properties": {
    "side": {
      "type": "string",
      "enum": [
        "buy",
        "sell"
      ],
      "description": "Order side",
      "example": "sell"
    },
    "symbol": {
      "type": "string",
      "description": "Asset to trade",
      "example": "BTC"
    },
    "quantity": {
      "type": "number",
      "description": "Quantity to trade",
      "example": 0.005
    },
    "estimatedValue": {
      "type": "number",
      "description": "Estimated order value in base currency",
      "example": 340.0
    }
  }
}