moonpay-trading-automation

Automate mp CLI trading commands for scheduled DCA, limit orders, and stop-losses.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Drock91/ows-hackathon --skill moonpay-trading-automation-drock91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moonpay-trading-automation
Source: https://github.com/Drock91/ows-hackathon/tree/main/.agents/skills/moonpay-trading-automation
Command: npx skills add https://github.com/Drock91/ows-hackathon --skill moonpay-trading-automation-drock91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enable reliable, unattended trading by composing mp CLI commands with OS schedulers so users can execute recurring buys, conditional limit orders, and automated stop-loss sells without manual intervention.

Core Features & Use Cases

  • Scheduled DCA: Run daily or periodic buys (for example, buy $5 of SOL every day at 9am) using cron or launchd.
  • Limit Orders with Self-disable: Poll prices and execute buys when a target price is reached, then automatically remove the scheduled job after a successful fill.
  • Stop-loss Automation: Monitor asset price and sell all holdings when a trigger price is crossed, with logging and basic error handling.
  • Platform-aware Scheduling: Uses absolute mp CLI path resolution for cron on Linux and launchd plists on macOS, relies on mp for keychain decryption, and uses jq and bc for JSON parsing and numeric comparisons.

Quick Start

Create a daily 9am UTC DCA script that uses the mp CLI to buy $5 of SOL and schedule it with cron or launchd.

Frequently Asked Questions about moonpay-trading-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate recurring DCA buys with the mp CLI?

Automate limit orders by polling prices with jq and bc for parsing and numeric comparisons. When the target price is reached, the mp CLI executes the buy and the scheduled job automatically self-disables to prevent duplicate fills.

Can I run unattended stop-loss automation on macOS and Linux?

Yes, you can run unattended stop-loss automation on macOS and Linux. The system monitors asset prices and executes sells when a trigger price is crossed, using launchd plists on macOS and cron on Linux with logging and basic error handling.

Do I need jq and bc to run scheduled mp CLI trading commands?

Yes, jq and bc are required for scheduled mp CLI trading commands. jq handles JSON parsing for token address resolution and price polling, while bc performs the numeric comparisons needed to evaluate limit order and stop-loss trigger conditions.

What's the best way to schedule unattended crypto swaps without manual intervention?

The best way to schedule unattended crypto swaps is using OS-level schedulers like cron or launchd with the mp CLI. This approach enables reliable recurring buys, conditional limit orders, and automated stop-loss sells without requiring manual intervention.