Cost Check
warden.cost_checkConvert claimed gross edge into net-of-cost reality by applying spread, slippage, and adverse selection costs at entry and exit, revealing true profitability under a pessimistic fill model.
Instructions
Convert a claimed gross edge into net-of-cost reality under the pessimistic fill model.
Spread + slippage + adverse selection are charged at both entry and exit, always against the position — the same model the gym scores every episode with.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spread_bps | Yes | Average bid-ask spread in bps. | |
| slippage_bps | Yes | Expected slippage in bps. | |
| gross_edge_bps | Yes | Claimed gross edge in basis points before costs. | |
| adverse_selection_bps | Yes | Adverse-selection drag in bps. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | No | ||
| tool | No | ||
| error | No | ||
| access | No | ||
| verdict | No | ||
| provenance | No | ||
| gross_edge_bps | No | ||
| net_return_bps | No | ||
| one_way_cost_bps | No | ||
| request_access_at | No | ||
| round_trip_cost_bps | No |