workflow.run_breakeven_planning
Calculate the break-even exit price that covers all trading fees. Use when user asks "what price do I need to just break even?" Returns: breakevenPrice, totalFees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| sizeBase | Yes | Position size — base asset qty for linear, USD contracts for inverse | |
| entryPrice | Yes | Entry price (positive) | |
| feeOpenPct | No | Opening fee fraction, default 0.0002 | |
| feeClosePct | No | Closing fee fraction, default 0.0005 | |
| contractType | No | linear = USDT-margined (default), inverse = coin-margined. For inverse, totalFees is returned in the base coin. |