360 Secure SkillHub
360 安全技能中心

Near Dca

为 NEAR 代币提供 DCA 定投功能,支持按日/周/双周/月创建计划,可列出、取消计划并查看定投表现与购买历史;计划存储在 ~/.near-dca/plans.json,实际执行需接入 Ref Finance 等 DEX 和调度器。

shaiss
shaiss
热度 71.88
最近更新 2026-05-18 11:59:51
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:财务 / 个人理财 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add near-dca
Metadata
name
near-dca
description
Dollar-cost averaging for NEAR tokens with flexible scheduling, performance tracking, and cancellation support.

NEAR DCA Skill

Dollar-Cost Averaging implementation for NEAR tokens.

Description

This skill provides DCA functionality with flexible scheduling and performance tracking. Set up recurring NEAR token purchases and track performance over time.

Features

  • Create DCA plans
  • Cancel DCA plans
  • List all DCA plans
  • Track DCA performance
  • Flexible scheduling (daily, weekly, etc.)

Commands

near-dca create <token> <amount> <schedule> [account]

Create a new DCA plan.

Parameters:

  • token - Token to buy (e.g., NEAR, USDT)
  • amount - Amount per purchase
  • schedule - Schedule: daily, weekly, biweekly, monthly
  • account - Account ID (optional, uses default)

Example:

near-dca create USDT 10 daily myaccount.near

near-dca list [account]

List all DCA plans for an account.

near-dca cancel <plan_id>

Cancel a DCA plan.

near-dca performance <plan_id>

Show performance for a DCA plan.

near-dca history <plan_id>

Show purchase history for a plan.

Configuration

DCA plans are stored in ~/.near-dca/plans.json.

Notes

  • DCA execution requires integration with a DEX (e.g., Ref Finance)
  • Scheduling requires cron or a job scheduler
  • Track performance vs lump-sum investment

References