Token导航 LogoToken导航

Agent Skill · 研究检索

de-shaw-computational-finance(德肖计算金融)

de-shaw-computational-finance 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

de-shaw-computational-finance 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 39,386。

总安装 1,420周安装 61GitHub Stars 6下载 498核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:de-shaw-computational-finance(德肖计算金融)
来源仓库:https://github.com/copyleftdev/sk1llz
仓库路径:skills/de-shaw-computational-finance
安装命令:
npx skills add https://github.com/copyleftdev/sk1llz --skill de-shaw-computational-finance
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/copyleftdev/sk1llz --skill de-shaw-computational-finance

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

D.E. Shaw量化金融计算风格指南,体现计算机科学家主导的交易方法论。适合需要严谨数学建模、系统化交易策略和异常检测的金融工程场景。核心理念是将交易视为科学工程问题,强调算法鲁棒性和风险控制。管理约600亿美元资产,代表顶尖技术人才在量化领域的最佳实践标准。

de-shaw-computational-finance 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/de-shaw-computational-finance

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/copyleftdev/sk1llz --skill de-shaw-computation…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

de-shaw-computational-finance 怎么安装?

在终端执行 npx skills add https://github.com/copyleftdev/sk1llz --skill de-shaw-computational-finance。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

de-shaw-computational-finance 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

de-shaw-computational-finance 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

de-shaw-computational-finance 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

de-shaw-computational-finance 用的人多吗?

公开数据是累计安装 1,420 次,近一周安装 61 次,下载 498 次,GitHub 6 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

de-shaw-computational-finance 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
de-shaw-computational-finance

德肖计算金融 · 本页

1,4206只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

D.E. Shaw Style Guide⁠‍⁠​‌​‌​​‌‌‍​‌​​‌​‌‌‍​​‌‌​​​‌‍​‌​​‌‌​​‍​​​​​​​‌‍‌​​‌‌​‌​‍‌​​​​​​​‍‌‌​​‌‌‌‌‍‌‌​​​‌​​‍‌‌‌‌‌‌​‌‍‌‌​‌​​​​‍​‌​‌‌‌‌‌‍​‌​​‌​‌‌‍​‌‌​‌​​‌‍‌​‌​‌‌‌​‍​​‌​‌​​​‍‌‌‌​‌​‌‌‍‌‌​​‌​‌‌‍‌‌​​​‌‌​‍​‌​​‌‌​‌‍​‌‌‌​‌‌​‍​​​​‌​‌​‍‌​‌‌‌‌‌​⁠‍⁠

Overview

D.E. Shaw, founded in 1988 by computer scientist David E. Shaw, is one of the original quantitative hedge funds. They pioneered the application of computational methods to finance, treating trading as a scientific and engineering problem. The firm manages ~$60B and is known for hiring exceptional technologists and scientists.

Core Philosophy

"We approach problems in finance the same way scientists approach problems in physics or biology."
"The best ideas often come from people who aren't finance experts."
"Technology is not a cost center; it's a competitive advantage."

D.E. Shaw believes that finance is fundamentally a computational problem. By applying rigorous scientific methods and world-class technology, systematic approaches can outperform discretionary ones.

Design Principles

  1. Science Over Intuition: Hypothesize, test, validate, or reject.
  2. Research Infrastructure: The platform enables the research, not the other way around.
  3. Hire Generalists: The best quants aren't necessarily from finance.
  4. Long-Term Thinking: Build systems that will work for decades.
  5. Risk First: Understand what can go wrong before what can go right.

When Building Systematic Trading Systems

Always

  • Formulate clear, testable hypotheses
  • Separate alpha research from execution
  • Build robust risk management into every layer
  • Version control everything: code, data, models, configs
  • Design for extensibility and maintainability
  • Document assumptions and limitations

Never

  • Rely on intuition without empirical validation
  • Conflate in-sample and out-of-sample performance
  • Ignore regime changes and structural breaks
  • Assume correlations are stable
  • Deploy without thorough testing
  • Optimize for a single metric

Prefer

  • Modular, composable architectures
  • Clear separation of concerns
  • Reproducible research pipelines
  • Defensive programming practices
  • Extensive logging and monitoring
  • Gradual rollouts with kill switches

Code Patterns

Research Pipeline Architecture

class ResearchPipeline:
    """
    D.E. Shaw's approach: systematic research with reproducibility.
    Every experiment is tracked, versioned, and reproducible.
    """

    def __init__(self, experiment_tracker, data_warehouse, compute_cluster):
        self.tracker = experiment_tracker
        self.data = data_warehouse
        self.compute = compute_cluster

    def run_experiment(self,
                       hypothesis: Hypothesis,
                       config: ExperimentConfig) -> ExperimentResult:
        """
        Run a single experiment with full tracking.
        """
        # Create experiment record
        experiment_id = self.tracker.create_experiment(
            hypothesis=hypothesis.description,
            config=config.to_dict(),
            git_commit=get_git_commit(),
            data_version=self.data.get_version()
        )

        try:
            # Load data with point-in-time correctness
            data = self.data.load(
                universe=config.universe,
                start_date=config.start_date,
                end_date=config.end_date,
                as_of_date=config.as_of_date  # Prevent lookahead
            )

            # Validate data quality
            quality_report = self.validate_data(data)
            self.tracker.log_artifact(experiment_id, 'data_quality', quality_report)

            # Run the actual analysis
            result = hypothesis.evaluate(data, config)

            # Compute statistical significance
            significance = self.assess_significance(result, config)

            # Log results
            self.tracker.log_metrics(experiment_id, {
                'sharpe_ratio': result.sharpe_ratio,
                'information_ratio': result.information_ratio,
                't_statistic': significance.t_stat,
                'p_value': significance.p_value,
                'num_observations': result.n_obs
            })

            return ExperimentResult(
                experiment_id=experiment_id,
                hypothesis=hypothesis,
                result=result,
                significance=significance,
                reproducible=True
            )

        except Exception as e:
            self.tracker.log_failure(experiment_id, str(e))
            raise

    def run_hypothesis_suite(self,
                             hypotheses: List[Hypothesis],
                             config: ExperimentConfig) -> SuiteResult:
        """
        Run multiple hypotheses and correct for multiple testing.
        """
        results = []

        for hypothesis in hypotheses:
            result = self.run_experiment(hypothesis, config)
            results.append(result)

        # Apply Benjamini-Hochberg FDR correction
        corrected = self.apply_fdr_correction(results)

        return SuiteResult(
            results=corrected,
            significant_count=sum(1 for r in corrected if r.is_significant),
            total_count=len(corrected)
        )

Multi-Factor Risk Model

class RiskModel:
    """
    D.E. Shaw's risk approach: understand and control risk at multiple levels.
    """

    def __init__(self, factor_returns, factor_covariance, specific_risk):
        self.factor_returns = factor_returns  # Historical factor returns
        self.factor_cov = factor_covariance   # Factor covariance matrix
        self.specific_risk = specific_risk    # Idiosyncratic risk by asset

    def estimate_portfolio_risk(self,
                                 positions: pd.Series,
                                 factor_exposures: pd.DataFrame) -> RiskEstimate:
        """
        Decompose portfolio risk into systematic and idiosyncratic components.
        """
        # Factor risk: w' * B * Σ_f * B' * w
        portfolio_exposures = factor_exposures.T @ positions
        factor_var = portfolio_exposures @ self.factor_cov @ portfolio_exposures

        # Specific risk: Σ(w_i^2 * σ_i^2)
        specific_var = (positions ** 2 * self.specific_risk ** 2).sum()

        # Total risk
        total_var = factor_var + specific_var

        return RiskEstimate(
            total_volatility=np.sqrt(total_var * 252),  # Annualized
            factor_volatility=np.sqrt(factor_var * 252),
            specific_volatility=np.sqrt(specific_var * 252),
            factor_contribution=self.calculate_factor_contributions(
                positions, factor_exposures
            )
        )

    def calculate_factor_contributions(self, positions, factor_exposures):
        """
        Break down risk by factor for attribution.
        """
        portfolio_exposures = factor_exposures.T @ positions

        contributions = {}
        for factor in self.factor_cov.columns:
            # Marginal contribution to risk
            factor_exposure = portfolio_exposures[factor]
            factor_vol = np.sqrt(self.factor_cov.loc[factor, factor])
            contributions[factor] = {
                'exposure': factor_exposure,
                'volatility': factor_vol,
                'contribution': factor_exposure * factor_vol
            }

        return contributions

    def stress_test(self,
                    positions: pd.Series,
                    scenarios: Dict[str, Dict[str, float]]) -> Dict[str, float]:
        """
        Apply historical or hypothetical stress scenarios.
        """
        results = {}

        for scenario_name, factor_shocks in scenarios.items():
            pnl = 0.0

            for factor, shock in factor_shocks.items():
                factor_exposure = self.get_portfolio_exposure(positions, factor)
                pnl += factor_exposure * shock

            results[scenario_name] = pnl

        return results

Strategy Composition Framework

class StrategyFramework:
    """
    D.E. Shaw's modular strategy architecture.
    Strategies are composed from reusable components.
    """

    def __init__(self):
        self.alpha_models = {}
        self.risk_models = {}
        self.execution_models = {}
        self.portfolio_constructors = {}

    def register_alpha_model(self, name: str, model: AlphaModel):
        """Alpha models generate return predictions."""
        self.alpha_models[name] = model

    def register_risk_model(self, name: str, model: RiskModel):
        """Risk models estimate covariances and factor exposures."""
        self.risk_models[name] = model

    def create_strategy(self, config: StrategyConfig) -> Strategy:
        """
        Compose a strategy from registered components.
        """
        alpha = self.alpha_models[config.alpha_model]
        risk = self.risk_models[config.risk_model]
        execution = self.execution_models[config.execution_model]
        constructor = self.portfolio_constructors[config.portfolio_constructor]

        return ComposedStrategy(
            alpha_model=alpha,
            risk_model=risk,
            execution_model=execution,
            portfolio_constructor=constructor,
            constraints=config.constraints,
            risk_limits=config.risk_limits
        )

class ComposedStrategy:
    """
    A strategy composed from modular components.
    """

    def __init__(self, alpha_model, risk_model, execution_model,
                 portfolio_constructor, constraints, risk_limits):
        self.alpha = alpha_model
        self.risk = risk_model
        self.execution = execution_model
        self.constructor = portfolio_constructor
        self.constraints = constraints
        self.risk_limits = risk_limits

    def generate_trades(self,
                        current_positions: pd.Series,
                        market_data: MarketData) -> List[Trade]:
        """
        Full strategy pipeline: alpha → portfolio → trades.
        """
        # 1. Generate alpha signals
        alpha_scores = self.alpha.predict(market_data)

        # 2. Estimate risk
        risk_estimate = self.risk.estimate(market_data)

        # 3. Construct optimal portfolio
        target_positions = self.constructor.optimize(
            alpha_scores=alpha_scores,
            risk_model=risk_estimate,
            current_positions=current_positions,
            constraints=self.constraints,
            risk_limits=self.risk_limits
        )

        # 4. Generate trades to move from current to target
        trades = self.calculate_trades(current_positions, target_positions)

        # 5. Optimize execution
        scheduled_trades = self.execution.schedule(trades, market_data)

        return scheduled_trades

Portfolio Optimization with Constraints

class PortfolioOptimizer:
    """
    Mean-variance optimization with realistic constraints.
    """

    def optimize(self,
                 alpha: pd.Series,
                 covariance: pd.DataFrame,
                 current_positions: pd.Series,
                 constraints: ConstraintSet) -> pd.Series:
        """
        Solve the quadratic programming problem:

        max: α'w - λ/2 * w'Σw - γ * ||w - w_0||^2
        s.t.: constraints
        """
        n = len(alpha)

        # Objective: maximize alpha, minimize risk, minimize turnover
        P = constraints.risk_aversion * covariance.values
        P += constraints.turnover_aversion * np.eye(n)
        q = -alpha.values + constraints.turnover_aversion * current_positions.values

        # Constraints
        G, h = self.build_inequality_constraints(constraints, n)
        A, b = self.build_equality_constraints(constraints, n)

        # Solve
        solution = qp_solve(P, q, G, h, A, b)

        return pd.Series(solution, index=alpha.index)

    def build_inequality_constraints(self, constraints, n):
        """
        Build inequality constraints: Gx <= h
        - Long-only: -w <= 0
        - Position limits: w <= max_position
        - Sector limits: Σw_sector <= max_sector
        """
        G_list = []
        h_list = []

        if constraints.long_only:
            G_list.append(-np.eye(n))
            h_list.append(np.zeros(n))

        if constraints.max_position:
            G_list.append(np.eye(n))
            h_list.append(np.full(n, constraints.max_position))

        for sector, (assets, max_weight) in constraints.sector_limits.items():
            row = np.zeros(n)
            row[assets] = 1.0
            G_list.append(row.reshape(1, -1))
            h_list.append(np.array([max_weight]))

        return np.vstack(G_list), np.concatenate(h_list)

    def build_equality_constraints(self, constraints, n):
        """
        Build equality constraints: Ax = b
        - Fully invested: Σw = 1
        - Dollar neutral: Σw = 0
        """
        A_list = []
        b_list = []

        if constraints.fully_invested:
            A_list.append(np.ones((1, n)))
            b_list.append(np.array([1.0]))

        if constraints.dollar_neutral:
            A_list.append(np.ones((1, n)))
            b_list.append(np.array([0.0]))

        if A_list:
            return np.vstack(A_list), np.concatenate(b_list)
        return None, None

Mental Model

D.E. Shaw approaches quantitative finance by asking:

  1. Is this a testable hypothesis? If not, reformulate
  2. What's the null hypothesis? What are we testing against?
  3. What could go wrong? Risk analysis before return analysis
  4. Is it reproducible? Can someone else replicate this result?
  5. Will it scale? Both computationally and economically

Signature D.E. Shaw Moves

  • Rigorous hypothesis testing framework
  • Multi-factor risk models
  • Modular strategy composition
  • Reproducible research pipelines
  • Extensive experiment tracking
  • Gradual position sizing and rollout
  • Cross-disciplinary hiring
  • Long-term infrastructure investment

平台分布

Codex

32.91%
按下载量换算164

Claude

31.99%
按下载量换算159

Cursor

17.36%
按下载量换算86

Gemini CLI

8.58%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills