debug-pnl

Diagnose market maker PnL loss drivers using analytics and calibration metrics.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/trudumb/hyper_make --skill debug-pnl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug-pnl
Source: https://github.com/trudumb/hyper_make/tree/main/.claude/skills/workflows/debug-pnl
Command: npx skills add https://github.com/trudumb/hyper_make --skill debug-pnl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnose the underlying causes of market maker PnL losses by guiding a structured, step-by-step review of analytics and calibration data.

Core Features & Use Cases

  • Systematic identification of drag sources (spread, adverse selection, inventory cost, fees) and routing to the relevant diagnostic components.
  • Calibration and regime checks to determine if model miscalibration or regime-specific failures are at fault.
  • Reproducible validation workflow including checks of attribution, edge metrics, and calibration metrics to guide fixes.

Quick Start

Run the diagnostic workflow on your market maker PnL data to start identifying loss drivers.

Frequently Asked Questions about debug-pnl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose the primary drivers of market maker PnL losses?

Diagnosing market maker PnL losses requires a structured workflow that evaluates drag from spread, adverse selection, inventory costs, and fees, then routes step-by-step to the relevant component. It assesses attribution, edge metrics, and calibration metrics to guide fixes.

What causes adverse selection and inventory drag in market making PnL?

Adverse selection and inventory drag in market making PnL are caused by miscalibrated models and regime-specific failures. Identifying these loss drivers involves checking calibration metrics like Brier score and information ratio to determine if model miscalibration is at fault.

How do I fix negative PnL from spread and fees in my market making strategy?

Fixing negative PnL from spread and fees involves systematically identifying the drag sources and routing to the relevant diagnostic components. A reproducible validation workflow checks attribution and edge metrics to guide the necessary fixes.

When should I use Brier score and information ratio to check model calibration for PnL?

Use Brier score and information ratio to check model calibration for PnL when diagnosing regime-specific failures or model miscalibration. These calibration metrics determine if miscalibrated models are the underlying fault driving negative PnL results.

Can I use attribution and edge metrics to validate market maker PnL fixes?

Attribution and edge metrics validate market maker PnL fixes by providing a reproducible workflow to confirm loss drivers are resolved. Evaluating these analytics modules alongside Sharpe ratios ensures the applied fixes effectively resolve spread, adverse selection, and inventory drag.

What is the best way to identify loss drivers in market maker PnL data?

The best way to identify loss drivers in market maker PnL data is running a diagnostic workflow that evaluates spread, adverse selection, inventory costs, and fees. It assesses attribution and edge metrics to route step-by-step to the relevant component for fixes.