OpenClaw · Skill
Near Dca
Dollar-Cost Averaging implementation for NEAR tokens.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install shaiss/near-dcaClawHub installer
npx clawhub@latest install shaiss/near-dcaOpenClaw CLI
openclaw skills install shaiss/near-dcaDirect OpenClaw install
openclaw install shaiss/near-dcaWhat this skill does
Dollar-Cost Averaging implementation for NEAR tokens.
Why it matters
Automates recurring token purchases on a set schedule, removing the need to manually execute trades or time the market.
Typical use cases
- Scheduling daily USDT purchases into NEAR
- Spreading NEAR token buys over weeks to reduce timing risk
- Tracking DCA performance against a lump-sum investment
- Cancelling an active DCA plan mid-cycle
- Reviewing full purchase history for a specific plan
Source instructions
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 purchaseschedule- Schedule: daily, weekly, biweekly, monthlyaccount- 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
- NEAR DeFi: https://near.org/defi/
- Ref Finance: https://ref.finance/