360 Secure SkillHub
360 安全技能中心

Near Dca

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

分类:自动化
shaiss
shaiss
热度 49.95
最近更新 2026-05-18 11:59:51

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add shaiss/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