Skip to content
Back to skills

Aptos Trading

ASecurity

Execute trades on Aptos mainnet with price-triggered profit-taking and dip-buying strategies. Includes wallet management, transaction signing, and DEX swaps via Liquidswap. Use when automating APT trading, checking balances, or executing swaps.

  • 61 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
businesspythonbashapisecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add plurigrid/asi --skill aptos-trading --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aptos Trading?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aptos Trading
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/plurigrid-aptos-trading/badge)](https://www.skillsdirectory.com/skills/plurigrid-aptos-trading)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aptos-trading
description: Execute trades on Aptos mainnet with price-triggered profit-taking and dip-buying strategies. Includes wallet management, transaction signing, and DEX swaps via Liquidswap. Use when automating APT trading, checking balances, or executing swaps.
compatibility: Requires Python 3.8+, aiohttp, pyyaml, cryptography. Mainnet access via REST API.
---

# Aptos Trading Executor

Automated APT trading on Aptos mainnet with price-triggered strategies.

## Overview

- **Purpose**: Automated profit-taking and dip-buying (vulture) strategies
- **Network**: Aptos Mainnet via REST API
- **DEX**: Liquidswap for APT ↔ USDC swaps

## Quick Start

```bash
# Run the executor (requires confirmation)
python ~/.agents/skills/aptos-trading/scripts/alpha_executor.py
```

## Configuration

Wallet configuration in `/Users/alice/agent_scripts/wallets.yaml`:

- `apt_primary` - Main trading wallet
- `usdc_withdrawal` - USDC extraction wallet

## Strategy Parameters

### Profit Triggers (Bull Levels)
| Level | Price | Action |
|-------|-------|--------|
| B1 | $1.60 | Log only (adjust to take 20%) |
| B2 | $1.80 | Swap 30% to USDC |
| B3 | $2.00 | Swap 50% to USDC |
| MOON | $2.50 | Swap 75% to USDC |

### Dip Buying (Vulture Levels)
| Price | Amount |
|-------|--------|
| $1.40 | 15 APT |
| $1.30 | 15 APT |
| $1.20 | 15 APT |

## Architecture

### AptosClient Class
- `get_account_info()` - Fetch sequence number
- `get_balance()` - Read APT from fungible asset store
- `submit_transaction(payload)` - Sign and submit tx
- `swap_apt_to_usdc(amount, min_out)` - Execute Liquidswap swap

### Price Feeds
1. CoinGecko API (primary)
2. Binance API (fallback)
3. Default $1.50 (emergency)

## Security Notes

⚠️ **CRITICAL**: Private keys are in `wallets.yaml` - NEVER commit this file
⚠️ All transactions are signed locally and submitted to mainnet
⚠️ Script requires typing "EXECUTE" to confirm live trading

### Wallet Validation (MANDATORY)
Before funding ANY wallet, run:
```bash
just aptos-validate-all
```

**NEVER use `derive-resource-account-address` for wallet creation.**
Use `aptos init --private-key` to derive addresses correctly.

## Files

- `scripts/alpha_executor.py` - Main executor
- `references/system-docs.org` - Full system documentation
- `/Users/alice/agent_scripts/wallets.yaml` - Wallet config (external)
- `/Users/alice/agent_scripts/Holdings.md` - Live state tracker
- `/Users/alice/agent_scripts/alpha.log` - Execution log


## Para(Optic) atlas

Part of: `para-mensch-commons`.

Files in this skill

  • CONCOMITANT_SKILLS.md2 KB
  • SKILL.md2.5 KB
  • references/system-docs.org6.7 KB
  • scripts/alpha_executor.py12.4 KB
  • scripts/ephemeral_key_handler.py11.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.