aptos-trading

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "aptos-trading" with this command: npx skills add plurigrid/asi/plurigrid-asi-aptos-trading

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

# 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)

LevelPriceAction
B1$1.60Log only (adjust to take 20%)
B2$1.80Swap 30% to USDC
B3$2.00Swap 50% to USDC
MOON$2.50Swap 75% to USDC

Dip Buying (Vulture Levels)

PriceAmount
$1.4015 APT
$1.3015 APT
$1.2015 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:

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

aptos-wallet-mcp

No summary provided by upstream source.

Repository SourceNeeds Review
Research

academic-research

No summary provided by upstream source.

Repository SourceNeeds Review
General

alife

No summary provided by upstream source.

Repository SourceNeeds Review