{
  "input": {
    "symbol": "BTC",
    "mode": "profit-loss",
    "side": "long",
    "entryPrice": 50000,
    "exitPrice": 55000,
    "quantity": 1,
    "entryFeePercent": 0.1,
    "exitFeePercent": 0.1,
    "fundingCost": 0,
    "margin": 1000,
    "leverage": 10,
    "maintenanceMarginPercent": 0.5,
    "accountEquity": 10000,
    "riskPercent": 1,
    "stopPrice": 45000,
    "principal": 100,
    "annualRate": 5,
    "rateKind": "apr",
    "compoundingPeriods": 12,
    "months": 12,
    "stakingFeePercent": 0
  },
  "result": {
    "value": 4895,
    "summary": "Linear position profit after entry fees, exit fees and net funding cost.",
    "metrics": {
      "grossProfit": 5000,
      "totalFees": 105,
      "fundingCost": 0,
      "returnOnEntryNotionalPercent": 9.790000000000001
    },
    "unit": "USD",
    "status": "ok"
  }
}