mcp
M
mcp
/position_size

Position size

Lot size, units and per-lot pip value from account risk, a stop distance, and an instrument.

liveverifiedunknown~5s typical
mcpprobedmcp
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-com-economicium-mcp /position_size for me.

Input

FieldTypeDescription
symbol*stringInstrument symbol. One of: EURUSD (EUR/USD), GBPUSD (GBP/USD), USDJPY (USD/JPY), USDCHF (U
accountBalance*number
riskPct*numberPercent of the account to risk, e.g. 1 for 1%
stopDistance*numberStop distance in price units (pips x pip size, or |entry - stop|)
accountCurrencystringAccount currency, e.g. "USD". Defaults to the instrument's own quote currency.
contractSizenumberOverride the instrument's default contract size
conversionRatenumberOverride the quote-to-account conversion rate

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-com-economicium-mcp","endpoint":"/position_size","input":{"symbol":"...","accountBalance":1,"riskPct":1,"stopDistance":1}}'
cli
npx cracked-ai run -p mcp-com-economicium-mcp -e /position_size -i '{"symbol":"...","accountBalance":1,"riskPct":1,"stopDistance":1}'
mcp
run_tool({ provider: "mcp-com-economicium-mcp", endpoint: "/position_size", input: {"symbol":"...","accountBalance":1,"riskPct":1,"stopDistance":1} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.