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
| Field | Type | Description |
|---|---|---|
| symbol* | string | Instrument symbol. One of: EURUSD (EUR/USD), GBPUSD (GBP/USD), USDJPY (USD/JPY), USDCHF (U |
| accountBalance* | number | |
| riskPct* | number | Percent of the account to risk, e.g. 1 for 1% |
| stopDistance* | number | Stop distance in price units (pips x pip size, or |entry - stop|) |
| accountCurrency | string | Account currency, e.g. "USD". Defaults to the instrument's own quote currency. |
| contractSize | number | Override the instrument's default contract size |
| conversionRate | number | Override 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.