Token导航 LogoToken导航

Agent Skill · 开发

fund-buying-decision(基金购买决策)

fund-buying-decision 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

fund-buying-decision 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 8,624。

总安装 3,070周安装 123GitHub Stars 公开资料未说明下载 994核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:fund-buying-decision(基金购买决策)
来源仓库:https://github.com/seanmwx/fund-buying-decision
安装命令:
openclaw skills install fund-buying-decision
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install fund-buying-decision

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

该技能实现基于价格回撤、DCA 策略、现金池与头寸管理的基金交易决策逻辑。适用于 OpenClaw 中开发自动化基金买卖系统的需求。支持买入、增持、减持或持有策略的参数化配置。安装方式为 clawhub 平台的 openclaw skills install 命令。使用前应验证策略参数合理性及相关金融数据接口权限。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install fund-buying-decision;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

fund-buying-decision 怎么安装?

在终端执行 openclaw skills install fund-buying-decision。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

fund-buying-decision 支持哪些 AI 工具?

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

fund-buying-decision 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

fund-buying-decision 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

fund-buying-decision 用的人多吗?

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

fund-buying-decision 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
fund-buying-decision

基金购买决策 · 本页

3,070—需要联网MIT-0通过

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

SKILL.md 原文

name
fund_buying_decision
description
Parameterize and apply a Chinese mutual-fund buy, add, reduce, or hold strategy driven by price drawdown, recurring DCA, cash-pool management, and position limits. Use when Codex needs to maintain the strategy thresholds in SKILL.md, explain or simulate a daily decision, update the bundled Eastmoney-to-SQLite importer, or produce a detailed report for a fund such as 011598.

Fund Buying Decision

Overview

Use this skill to keep a reusable fund trading framework in one place. Prefer changing the parameter block below instead of rewriting numeric rules in prose.

Return one explicit action per decision cycle:

  • buy_dca
  • buy_dip
  • sell_take_profit
  • hold
  • skip_data_missing

If multiple actions trigger on the same day, prefer the risk-reducing action and keep the one-trade-per-day rule.

Strategy Parameters

Edit editable first. Keep fixed stable unless the strategy shape really changes.

strategy_parameters:
  editable:
    capital:
      initial_cash: 1000
      weekly_dca_amount: 100
      monthly_cash_pool_inflow: 1000

    scheduling:
      weekly_pretrade_reminder:
        weekday: monday
        time_local: "09:00"
      weekly_dca:
        weekday: tuesday
      weekly_trade_reminder:
        weekday: tuesday
        time_local: "09:30"
      monthly_cash_inflow:
        schedule_type: second_to_last_business_day
        day_of_month: null
      monthly_cash_inflow_reminder:
        schedule_type: second_to_last_business_day
        day_of_month: null
        time_local: "10:00"

    price_state:
      dip_thresholds_pct: [5, 10, 15]
      dip_base_buy_amounts: [100, 150, 200]

    take_profit:
      profit_thresholds_pct: [10, 20]
      profit_sell_ratios_pct: [10, 20]

    risk:
      max_position_ratio_pct: 80
      min_position_ratio_pct: 20

  fixed:
    universe:
      allowed_fund_types:
        - index_fund
        - equity_fund
      disallowed_fund_types:
        - bond_fund
        - money_market_fund

    capital:
      fee_rate_source: fund_current_rate

    scheduling:
      trade_cutoff_local_time: "15:00"
      backtest_execution_mode: next_trading_day
      max_trades_per_day: 1

    price_state:
      recent_high_lookback_trading_days: 20
      min_trading_days_between_adds: 5

Parameter Groups

Use these two buckets when maintaining the strategy:

  • editable

capital.initial_cash capital.weekly_dca_amount capital.monthly_cash_pool_inflow scheduling.weekly_pretrade_reminder.weekday scheduling.weekly_pretrade_reminder.time_local scheduling.weekly_dca.weekday scheduling.weekly_trade_reminder.weekday scheduling.weekly_trade_reminder.time_local scheduling.monthly_cash_inflow.schedule_type scheduling.monthly_cash_inflow.day_of_month scheduling.monthly_cash_inflow_reminder.schedule_type scheduling.monthly_cash_inflow_reminder.day_of_month scheduling.monthly_cash_inflow_reminder.time_local price_state.dip_thresholds_pct price_state.dip_base_buy_amounts take_profit.profit_thresholds_pct take_profit.profit_sell_ratios_pct risk.max_position_ratio_pct risk.min_position_ratio_pct

  • fixed

universe.allowed_fund_types universe.disallowed_fund_types capital.fee_rate_source scheduling.trade_cutoff_local_time scheduling.backtest_execution_mode scheduling.max_trades_per_day price_state.recent_high_lookback_trading_days price_state.min_trading_days_between_adds

State Boundary

Treat SKILL.md as strategy configuration only. Do not store live account state in this file.

  • SKILL.md is the source of truth for strategy rules, thresholds, schedules, and default initialization values.
  • SQLite is the source of truth for live account state and history.
  • Real account fields such as cash_pool, position_units, avg_cost_price, account_id, and executed trades must live in the database, not in SKILL.md.
  • capital.initial_cash is only the default starting amount used when initializing a new strategy account.

It is not the current live cash balance after trading starts.

  • After an account exists, update live state only through:

python {baseDir}/scripts/manage_strategy_account.py ... python {baseDir}/scripts/record_strategy_trade.py ... python {baseDir}/scripts/confirm_strategy_action.py ...

  • Do not edit capital.initial_cash in SKILL.md to reflect a new live balance.

If the user adds cash or changes holdings, write that change to SQLite instead.

Required Inputs

Do not invent missing inputs. If a required field is unavailable, return skip_data_missing and explain what is missing.

Required runtime inputs:

  • fund_code
  • current_price
  • cost_price
  • cash_pool
  • position_value
  • recent_high
  • today
  • trade_time_local
  • last_add_trade_date
  • is_weekly_dca_day
  • is_monthly_cash_inflow_day

Derived values:

  • total_asset = cash_pool + position_value
  • position_ratio = position_value / total_asset
  • drawdown_pct = (recent_high - current_price) / recent_high * 100
  • profit_pct = (current_price - cost_price) / cost_price * 100
  • effective_fee_rate_pct = imported fund current_rate when available

Daily Workflow

  1. Refresh or read fund data.

For Eastmoney price data, run python {baseDir}/scripts/import_eastmoney_pingzhongdata.py 011598 or replace 011598 with another fund code.

  1. If today and the current local time match the configured weekly_pretrade_reminder, issue the weekly pretrade reminder.
  2. If today and the current local time match the configured weekly_trade_reminder, issue the trading reminder and then evaluate the strategy.
  3. If today and the current local time match the configured monthly_cash_inflow_reminder, remind the user to add the monthly cash inflow.
  4. Record the monthly cash inflow only after it is actually added to cash_pool.

Use python {baseDir}/scripts/record_strategy_trade.py 011598 --trade-type cash_inflow --gross-amount 1000.

  1. Update current_price, recent_high, total_asset, and position_ratio.
  2. Evaluate take-profit rules first when both buy and sell could trigger on the same day.
  3. Evaluate dip-buy rules only if the add-spacing rule is satisfied and cash is available.
  4. Evaluate weekly DCA only if no higher-priority trade was selected.
  5. Re-check max and min position limits after sizing the candidate trade.
  6. Execute at the configured cutoff rule.

For backtests, prefer next_trading_day execution to avoid future leakage.

Scheduling Rules

  • weekly_pretrade_reminder.weekday and weekly_pretrade_reminder.time_local control the weekly pretrade reminder schedule.
  • weekly_trade_reminder.weekday and weekly_trade_reminder.time_local control the weekly trade reminder schedule.
  • weekly_dca.weekday controls which weekday counts as the DCA trading day.
  • monthly_cash_inflow.schedule_type controls the monthly cash-inflow date used by the strategy state.
  • monthly_cash_inflow_reminder.schedule_type and monthly_cash_inflow_reminder.time_local control the monthly reminder trigger.
  • Supported monthly schedule_type values are:

- second_to_last_business_day - last_business_day - day_of_month

  • When schedule_type = day_of_month, fill day_of_month with an integer such as 15 or 28.

Decision Rules

DCA

  • Use weekly_dca_amount as the fixed recurring DCA amount.
  • Size the actual DCA as min(weekly_dca_amount, cash_pool).
  • Skip DCA if there is already a higher-priority trade on the same day.

Dip Buy

  • Compute drawdown_pct from recent_high.
  • Use only the deepest triggered threshold from dip_thresholds_pct.
  • Map that threshold to the aligned base amount in dip_base_buy_amounts.
  • Size the actual buy as the minimum of:

- base buy amount - available cash_pool - remaining room under max_position_ratio_pct

  • Reject the dip buy if the last add trade is within min_trading_days_between_adds.

Take Profit

  • Use only the highest triggered threshold from profit_thresholds_pct.
  • Map that threshold to the aligned sell ratio in profit_sell_ratios_pct.
  • Size the actual sell so the post-trade position ratio does not go below min_position_ratio_pct.
  • Send sell proceeds back into cash_pool.

Position And Cash Controls

  • Keep all buys funded by cash_pool.
  • Keep monthly inflows and sell proceeds inside cash_pool.
  • Never exceed max_position_ratio_pct.
  • Never reduce below min_position_ratio_pct.
  • Include the imported fund current_rate in trade sizing when the user requires fees.

Fund Detail Reporting

  • Use python {baseDir}/scripts/report_fund_details.py 011598 --refresh to fetch and summarize a fund.
  • Include the latest available fund identity, fee rate, minimum subscription, net worth, recent 20-trading-day high, drawdown, return metrics, stock-position estimate, manager information, asset allocation, holder structure, and top holdings.
  • If local data is missing, allow the reporting script to refresh the SQLite database first.

Drawdown Alerts

  • Use python {baseDir}/scripts/check_fund_alert.py 004475 to check drawdown alerts against the configured dip_thresholds_pct tiers in SKILL.md.
  • To override the default tiers at runtime, repeat --threshold-pct, for example:

python {baseDir}/scripts/check_fund_alert.py 004475 --threshold-pct 5 --threshold-pct 10 --threshold-pct 15

  • This script only computes the alert state and returns structured output.
  • Do not implement email or Feishu delivery inside this skill.

If the user wants delivery, hand the alert result to the dedicated notification skill instead.

Strategy Runtime Commands

Default SQLite location:

  • ~/.fund_buying_decision/fund_buying_decision.db
  • Use --db ~/.fund_buying_decision/<name>.db when you want a separate database file for another account set or experiment.
  • Initialize or overwrite the stored account state:

python {baseDir}/scripts/manage_strategy_account.py upsert 011598 --account-id main --cash-pool 1000 --position-units 0 --fund-type equity_fund

  • Record a real cash flow or manual trade:

python {baseDir}/scripts/record_strategy_trade.py 011598 --account-id main --trade-type cash_inflow --gross-amount 1000

  • Generate reminders and evaluate the strategy:

python {baseDir}/scripts/evaluate_strategy.py 011598 --account-id main --refresh

  • Confirm and execute the currently suggested strategy trade only after the user agrees:

python {baseDir}/scripts/confirm_strategy_action.py 011598 --account-id main --refresh --expected-action buy_dca

  • Check whether a drawdown alert is triggered:

python {baseDir}/scripts/check_fund_alert.py 004475

References To Load

  • references/strategy_parameters.md

Use when revising thresholds, clarifying formulas, or resolving ambiguous parameter choices.

  • references/data_inputs.md

Use when working with the SQLite importer, mapping database tables to strategy inputs, planning the next strategy-state tables, or assembling a fund detail report.

平台分布

OpenClaw

98.11%
按下载量换算975

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills