You're viewing a demo portfolio

Join the waitlist
PRSM

get_position_size

Active

Tool of PredMCP

declared in 0.7.0

Turn a signal + bankroll into a concrete position: fractional-Kelly size capped by orderbook liquidity, ATR-based stop, liquidation price at chosen leverage, funding carry cost, and % bankroll at risk. Warns when liquidation sits inside the stop. Ground win_rate_pct with get_signal_performance or get_signal_backtest first.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "asset",
    "direction",
    "bankroll_usdc"
  ],
  "properties": {
    "asset": {
      "type": "string",
      "description": "Asset, e.g. \"BTC\""
    },
    "leverage": {
      "type": "number",
      "default": 3,
      "maximum": 50,
      "minimum": 1,
      "description": "Intended leverage (default 3x)"
    },
    "direction": {
      "enum": [
        "long",
        "short"
      ],
      "type": "string",
      "description": "Trade direction"
    },
    "payoff_ratio": {
      "type": "number",
      "default": 1.5,
      "maximum": 20,
      "minimum": 0.1,
      "description": "Avg win / avg loss ratio (default 1.5)"
    },
    "win_rate_pct": {
      "type": "number",
      "default": 55,
      "maximum": 99,
      "minimum": 1,
      "description": "Estimated win probability % (use get_signal_performance or get_signal_backtest to ground this)"
    },
    "bankroll_usdc": {
      "type": "number",
      "minimum": 10,
      "description": "Total capital available in USDC"
    },
    "kelly_fraction": {
      "type": "number",
      "default": 0.25,
      "maximum": 1,
      "minimum": 0.05,
      "description": "Fraction of full Kelly to use (default 0.25 — quarter Kelly)"
    },
    "max_slippage_pct": {
      "type": "number",
      "default": 0.3,
      "maximum": 5,
      "minimum": 0.01,
      "description": "Max acceptable slippage % — caps size by orderbook depth"
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

PredMCP

https://github.com/RavioleLabs/predmcp

1/7 registries
View full server →