order-management-pretrade-risk

Aggregate trading exposure and enforce pre-trade risk limits for order execution.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/GhostOf0days/codex-quant-skills --skill order-management-pretrade-risk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: order-management-pretrade-risk
Source: https://github.com/GhostOf0days/codex-quant-skills/tree/main/order-management-pretrade-risk
Command: npx skills add https://github.com/GhostOf0days/codex-quant-skills --skill order-management-pretrade-risk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the critical need for robust pre-trade risk management in order execution, preventing potential financial losses and ensuring compliance.

Core Features & Use Cases

  • Exposure Aggregation: Consolidates trading exposure across various instruments and venues.
  • Limit Management: Enforces predefined risk limits for order participation, size, and slippage.
  • Scenario-Loss Resilience: Assesses and mitigates potential losses under stressed market conditions.
  • Use Case: When deploying a new trading strategy, use this Skill to profile venue liquidity and configure order routing with deterministic safeguards to ensure stable execution quality.

Quick Start

Run the order management pretrade risk diagnostics script on input.csv to generate diagnostics.json.

Frequently Asked Questions about order-management-pretrade-risk

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

FAQPage Schema
How do I enforce pre-trade risk limits before order execution?

You can enforce pre-trade risk limits by aggregating exposure across instruments and venues, then validating order participation, size, and slippage against predefined constraints before execution.

What is scenario-loss resilience in quantitative trading?

Scenario-loss resilience in quantitative trading assesses and mitigates potential portfolio losses under stressed market conditions, ensuring your order execution maintains stability during extreme market windows.

How do I aggregate trading exposure across multiple venues?

You aggregate trading exposure across venues by consolidating position data into a unified view, enabling you to enforce deterministic safeguards and profile liquidity for stable execution quality.

Can I use pandas for order management pre-trade risk diagnostics?

Yes, this Skill relies on pandas to run diagnostics on input CSV files, processing trading exposure data to generate diagnostic reports for stressed market windows.

What is the best way to profile venue liquidity for a new trading strategy?

The best way to profile venue liquidity is to run diagnostics on your input data, configuring order routing with deterministic safeguards to ensure stable execution quality during deployment.

Why does pre-trade risk management fail under stressed market conditions?

Pre-trade risk management fails under stressed market conditions when scenario-loss resilience is not assessed, leaving order execution vulnerable to sudden liquidity drops and slippage violations.