{
  "name": "LotCalculator.net calculator agent",
  "version": "1.0.0",
  "description": "Answers position sizing, pip value and risk/reward questions for forex and metals trades, using the same arithmetic as the lotcalculator.net calculators.",
  "url": "https://lotcalculator.net/a2a",
  "preferredTransport": "JSONRPC",
  "provider": {
    "organization": "LotCalculator.net",
    "url": "https://lotcalculator.net"
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "supportedInterfaces": [
    {
      "url": "https://lotcalculator.net/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    }
  ],
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "skills": [
    {
      "id": "lot_size",
      "name": "Lot size from risk",
      "description": "Given an account balance, a risk percentage and a stop-loss distance in pips, return the position size in lots that keeps the loss inside that risk budget. Also returns the money at risk, the pip value, the units, the notional and the margin required at the given leverage.",
      "tags": [
        "trading",
        "position-sizing",
        "forex"
      ]
    },
    {
      "id": "pip_value",
      "name": "Pip value",
      "description": "Return what one pip is worth for a given instrument and position size, in the quote currency and in the account currency, plus the total for a number of pips. Supports standard and cent accounts.",
      "tags": [
        "trading",
        "position-sizing",
        "forex"
      ]
    },
    {
      "id": "risk_reward",
      "name": "Risk to reward ratio",
      "description": "Given an entry, a stop loss and a take profit, return the risk to reward ratio, both distances in pips, the win rate needed to break even at that ratio, and - when a position size is supplied - the money on each side of the trade.",
      "tags": [
        "trading",
        "position-sizing",
        "forex"
      ]
    }
  ],
  "securitySchemes": {},
  "security": []
}