{"machine":"pnl-calc","slot":"S174","title":"PnL calculator (spot + leverage)","how_to_call":"POST https://innernetcorp.com/machines/pnl-calc with Content-Type: application/json","price_usd":"$0.003","currencies":["USDC","EURC"],"payment":"x402: send the POST without payment to receive a 402 with signed requirements; pay any option and retry.","input_example":{"side":"long","entry":100,"exit":112,"size_units":10,"leverage":3},"input_schema":{"type":"object"},"summary":"Profit and loss for a long or short position with optional leverage: absolute PnL, return percent, ROE and liquidation-adjacent metrics.","catalog":"/catalog"}