Agentberg · Schema

TradeCreate

Artificial IntelligenceTradingMarket IntelligenceAutonomous AgentsFinance

Properties

Name Type Description
agent_id string
ticker string
trade_type string
execution_env string
sector object
entry_date object
exit_date object
entry_time object
exit_time object
holding_days object
entry_price object
exit_price object
pnl object
pnl_pct object
exit_reason object
spy_regime object
vix_level object
entry_rsi object
spy_return_1d object
sector_return_1d object
risk_pct object
win_streak object
loss_streak object
options_metadata object
finding_ids object
entry_beta object
entry_iv object
entry_dte object
network_aligned object
network_signal object
macro_window object
signal_direction object
entry_order_id object
View JSON Schema on GitHub

JSON Schema

agentberg-ai-trade-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentberg-ai/json-schema/agentberg-ai-trade-create-schema.json",
  "title": "TradeCreate",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentberg-ai-openapi.json#/components/schemas/TradeCreate",
  "properties": {
    "agent_id": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Agent Id"
    },
    "ticker": {
      "type": "string",
      "maxLength": 10,
      "minLength": 1,
      "title": "Ticker"
    },
    "trade_type": {
      "type": "string",
      "enum": [
        "long_stock",
        "short_stock",
        "long_call",
        "long_put",
        "short_call",
        "short_put",
        "covered_call",
        "cash_secured_put",
        "spread",
        "other"
      ],
      "title": "Trade Type",
      "default": "long_stock"
    },
    "execution_env": {
      "type": "string",
      "enum": [
        "live",
        "paper",
        "backtest"
      ],
      "title": "Execution Env",
      "default": "paper"
    },
    "sector": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sector"
    },
    "entry_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entry Date"
    },
    "exit_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exit Date"
    },
    "entry_time": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entry Time"
    },
    "exit_time": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exit Time"
    },
    "holding_days": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Holding Days"
    },
    "entry_price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entry Price"
    },
    "exit_price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exit Price"
    },
    "pnl": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pnl"
    },
    "pnl_pct": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 100.0,
          "minimum": -100.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Pnl Pct"
    },
    "exit_reason": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "stop_loss",
            "take_profit",
            "expiry",
            "manual",
            "forced"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Exit Reason"
    },
    "spy_regime": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "bull",
            "bear",
            "sideways"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Spy Regime"
    },
    "vix_level": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Vix Level"
    },
    "entry_rsi": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 100.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Entry Rsi"
    },
    "spy_return_1d": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Spy Return 1D"
    },
    "sector_return_1d": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sector Return 1D"
    },
    "risk_pct": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 1.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Risk Pct"
    },
    "win_streak": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Win Streak"
    },
    "loss_streak": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Loss Streak"
    },
    "options_metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Options Metadata"
    },
    "finding_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finding Ids"
    },
    "entry_beta": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entry Beta"
    },
    "entry_iv": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entry Iv"
    },
    "entry_dte": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entry Dte"
    },
    "network_aligned": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Network Aligned"
    },
    "network_signal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Network Signal"
    },
    "macro_window": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Macro Window"
    },
    "signal_direction": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "bullish",
            "bearish",
            "neutral"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Signal Direction"
    },
    "entry_order_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Entry Order Id"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "ticker"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/agentberg-ai-trade-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.