Forex Breakeven
workflow.run_forex_breakevenBreakeven price for a forex position accounting for spread and round-trip commission, in pips and in price. Commission is quoted per standard lot (100,000 units) and expressed in the pair's own quote currency; because both commission and pip value scale with lot size, the commission-in-pips figure is independent of position size by construction. Use when user asks "where's my true breakeven after spread and commission?". Returns: pipSize, commissionPips, totalCostPips, breakevenPrice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Currency pair in BASE/QUOTE format, e.g. "EUR/USD" | |
| side | Yes | ||
| entryPrice | Yes | ||
| spreadPips | Yes | Spread at entry, in pips | |
| commissionPerLotRoundTrip | No | Round-trip commission per standard lot, in the pair's own quote currency. Default 0 (pure-spread broker model). |