Position performance
position_get_performanceCompute holding-period return and realized fee APR for a Raydium CLMM position NFT from finalized history and current on-chain state (not Raydium pool 24h feeApr). Prefer token-native metrics: for same-asset RWA wrap pairs (e.g. SPCXx/SPCX) report TE in the plain/base ticker using current tick mid (1.0001^tick×10^(decA−decB)), plus raw A/B inventory, holdingDays, feeOnlyAprPct and annualizedReturnPct (HPR×365/days; feeOnlyAprPct = feesEarned ÷ time-weighted average capital (Σ capital×days) × 365, the running net principal between on-chain events, so a later add counts only from its own time). USD is optional/secondary (Jupiter Price v3 / Raydium stable-leg, labeled current — not historical). metrics.usdPerRawUnitA/B (alias metrics.priceUsdA/B, same values) and pricing.usdPerRawUnitA/B are USD per (raw / 10^decimals) token unit, ScaledUiAmount multiplier already applied; pricing.sharePriceUsdA/B is the per-share price and pricing.guard the cross-check against the pool price. Discovers open/increase/decrease txs via personal-position signatures + Anchor events + current equity. After submitting a position transaction, use refreshHistory=true and historyAfterSignatures to require its finalized history. Read-only. No token needed: wallet is optional (public on-chain data). Limited to 12 position reads per minute per IP.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"positionMint": "<positionMint>"
},
"name": "position_get_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | Optional wallet to verify NFT ownership (does not change math) | |
| skipPricing | No | If true, skip Jupiter/Raydium USD pricing (token-native / TE metrics still computed) | |
| positionMint | Yes | Position NFT mint address (from positions_list) | |
| maxSignatures | No | Max personal-position signatures to scan (1-500, default 100) | |
| refreshHistory | No | Force a fresh history read after a transaction | |
| historyAfterSignatures | No |