OpenChainGraph Suite · ART-214 · Derivatives Margin

Perp Position Lifecycle

Model a full perpetual position from open to close. Computes liquidation price, realized PnL, cumulative funding cost over the holding period, taker and maker fees, and margin returned. Hyperliquid hourly funding cadence by default.

Hyperliquid Binance dYdX v4 Funding Impact Full P&L Not Financial Advice
Not financial advice. Funding rates are variable and unpredictable. Liquidation price is approximate (isolated margin). Actual outcomes depend on mark price, funding cadence, and venue rules. For informational purposes only.
🔒 All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Position Setup
Fees
Hyperliquid default: 0.055%. Binance: 0.05%.
Hyperliquid default: −0.002% (rebate). Use negative for rebates.
Funding
E.g. 0.0001 = 0.01% per hour. Negative = shorts pay longs.
Hyperliquid: 1 per hour. 24 intervals = 1 day.
Timestamps (static strings, for audit trail)
P&L Summary
Full Breakdown
Execution Hash (SHA-256)

Ask your agent

Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this exact tool, with this sample, and verify the artifact.

Run the AINumbers MCP tool `model_perp_position`. Task: Model a full perp position from open to close: liquidation price, realized PnL, cumulative funding over the holding period, taker and maker fees, and margin return.
Call it with arguments: {"policy_parameters":{"venue":"hyperliquid","side":"long","entry_price":50000,"exit_price":55000,"position_size":1,"leverage":5,"n_intervals":24,"funding_rate_per_interval":0.0001}}
Verify before trusting: call `verify_execution_hash` on mcp.ainumbers.co (https://mcp.ainumbers.co/mcp) with the parameter `claimed_hash` set to the returned `execution_hash`, passing the full artifact the run returned (the object containing `policy_parameters` + `output_payload` + `execution_hash`; equivalently `policy_parameters` + `output_payload` with `claimed_hash`), not the bare hash string.
Return the ledger link https://ledger.ainumbers.co/ so a human can re-verify without contacting us.
PII rule: All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Open the tool with the sample prefilled: https://ainumbers.co/chaingraph/art-214-perp-position-lifecycle.html#p=v1.H4sIAAAAAAAA_wGfAGD_eyJ2ZW51ZSI6Imh5cGVybGlxdWlkIiwic2lkZSI6ImxvbmciLCJlbnRyeV9wcmljZSI6NTAwMDAsImV4aXRfcHJpY2UiOjU1MDAwLCJwb3NpdGlvbl9zaXplIjoxLCJsZXZlcmFnZSI6NSwibl9pbnRlcnZhbHMiOjI0LCJmdW5kaW5nX3JhdGVfcGVyX2ludGVydmFsIjowLjAwMDF9chI4bJ8AAAA