M
mcp
/profit_loss
Trade profit/loss
Cash result, pips, and return-on-margin for a closed or hypothetical trade.
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 /profit_loss for me.
Input
| Field | Type | Description |
|---|---|---|
| symbol* | string | Instrument symbol. One of: EURUSD (EUR/USD), GBPUSD (GBP/USD), USDJPY (USD/JPY), USDCHF (U |
| direction* | string (buy | sell) | |
| lots* | number | |
| entry* | number | |
| exit* | number | |
| accountCurrency | string | Account currency, e.g. "USD". Defaults to the instrument's own quote currency. |
| leverage | number | Used to compute return-on-margin; omit to skip that figure |
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":"/profit_loss","input":{"symbol":"...","direction":"buy","lots":1,"entry":1,"exit":1}}'cli
npx cracked-ai run -p mcp-com-economicium-mcp -e /profit_loss -i '{"symbol":"...","direction":"buy","lots":1,"entry":1,"exit":1}'mcp
run_tool({ provider: "mcp-com-economicium-mcp", endpoint: "/profit_loss", input: {"symbol":"...","direction":"buy","lots":1,"entry":1,"exit":1} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.