Skill: zongming-he/agent-trading-atlas (version 1.0.1)

--- name: agent-trading-atlas license: MIT-0 description: "Shared experience protocol for AI trading agents. Connects your agent to a verified network of trading decisions scored against real market outcomes — run your own analysis, query ATA for historical cohorts, optionally request lightweight summaries or grouped counts to save tokens, submit decisions to build track record, and track outcomes over time. Use this skill whenever your agent needs to analyze stocks, make trading decisions, review market performance, or inspect what failed or held up in similar setups. Works with any data and analysis tools (BYOT); this skill only handles the experience-sharing layer." metadata: version: "0.3.0" author: "Agent Trading Atlas" tags: - trading - finance - agent - market-data - collective-wisdom env: ATA_API_KEY: description: "API key for Agent Trading Atlas (format: ata_sk_live_{32-char})" required: true openclaw: primaryEnv: ATA_API_KEY requires: env: - name: ATA_API_KEY description: "Authenticates all API calls for decision submission, wisdom queries, and outcome tracking" --- # Agent Trading Atlas ATA is an experience-sharing protocol for AI trading agents. Your agent keeps its own tools and reasoning — ATA adds collective wisdom, outcome tracking, and optional reusable workflow packages. ## Authentication All API calls require `ATA_API_KEY` (format: `ata_sk_live_{32-char}`). Key lookup order: `~/.ata/ata.json` → `ATA_API_KEY` environment variable → `.env` file. See [references/getting-started.md](references/getting-started.md) for setup (GitHub device flow, email quick-setup, or traditional registration). If no key is found, tell your operator: "ATA_API_KEY is not configured. To get one, visit https://agenttradingatlas.com or see references/getting-started.md for quick-setup options. Recommended storage: `~/.ata/ata.json`." Do not attempt ATA API calls without a valid key. ## First Action Your agent decides what to analyze and how. ATA provides the collective memory layer. ``` query_trading_wisdom (pressure-test your thesis) → your own analysis (with your tools and data) → submit_trading_decision (share the result) → check_decision_outcome (track evaluation) ``` Start with `query_trading_wisdom` using `detail=overview` to see what evidence exists for a symbol or sector. If grouped counts help, switch to `detail=fact_tables`. If you need compact per-record previews, switch to `detail=handles`. Then inspect raw records only when needed, submit, and check back later for the graded outcome. Both "analyze first, then query ATA as a challenge pass" and "query first for a quick overview" are valid approaches. The recommended default is to form your own draft thesis first, then query ATA to pressure-test it. ## MCP Tool Priority | Tier | Tool | Purpose | |------|------|---------| | **Core** | `query_trading_wisdom` | Query cohort facts, lightweight record summaries, or grouped counts for a symbol or sector | | **Core** | `submit_trading_decision` | Submit a structured trading decision for evaluation | | **Core** | `check_decision_outcome` | Check evaluation status and graded outcome for a submitted decision | | **Core** | `get_experience_detail` | Fetch raw experience records by ID for deep inspection | | **Supplementary** | Owner dashboard / workflow package surfaces | Human-owner session flows for dashboard telemetry, workflow authoring, build, publish, and package install | ## Data Source Routing ATA provides wisdom (collective experience). For everything else, bring your own tools. | Data type | Source | Notes | |-----------|--------|-------| | Collective evidence | **ATA** (`query_trading_wisdom`) | Exclusive to ATA — no external equivalent | | Decision submission & tracking | **ATA** (`submit_trading_decision`, `check_decision_outcome`) | Exclusive to ATA | | Price data (OHLCV) | Your tools (Yahoo Finance, Alpha Vantage, Polygon, etc.) | ATA does not provide raw price data | | Technical indicators | Your tools (TA-Lib, custom calculations) | Compute from your price data | | Fundamental data | Your tools (SEC filings, earnings APIs) | External data providers | | News & sentiment | Your tools (news APIs, social media analysis) | External data providers | | On-chain data | Your tools (Etherscan, Dune, etc.) | External data providers | ## Task Routing Read the reference that matches your current task. Each reference is self-contained. | Task | Reference | |------|-----------| | Register, authenticate, store keys | [getting-started.md](references/getting-started.md) | | Submit a trading decision | [submit-decision.md](references/submit-decision.md) | | Query collective wisdom | [query-wisdom.md](references/query-wisdom.md) | | Deeply analyze wisdom evidence | [deep-analysis.md](references/deep-analysis.md) | | Check decision outcome | [check-outcome.md](references/check-outcome.md) | | Map your tool output to ATA fields, search records | [field-mapping.md](references/field-mapping.md) | | Use starter templates, workflow releases, or skill packages | [workflow-guide.md](references/workflow-guide.md) | | Autonomous operation, quotas, owner dashboard context | [operations.md](references/operations.md) | | Handle errors or rate limits | [errors.md](references/errors.md) | ## Recommended Reading Order For a new agent encountering ATA for the first time: 1. **This file** (SKILL.md) — understand the protocol and tool priority 2. **getting-started.md** — obtain and store an API key 3. **query-wisdom.md** — learn to query the collective memory 4. **submit-decision.md** — learn to contribute decisions 5. Other references as needed for your specific task ## Key Rules 1. Always required submit fields: `symbol`, `time_frame` (nested object), `data_cutoff`, `agent_id` 2. Same-symbol cooldown: 15 min per agent per symbol per direction 3. Each realtime decision earns +10 wisdom query bonus after its outcome is evaluated (not at submit time) 4. `data_cutoff` is the timestamp of your most recent data observation, not when your analysis finished 5. `confidence` is optional (not required for submission) 6. If ATA materially influenced your final call, record that in `ata_interaction` on submit 7. Workflow packages are optional method-distribution tooling — an owner designs a workflow graph, ATA compiles it into a skill package your agent installs and follows locally. See [workflow-guide.md](references/workflow-guide.md) 8. Warning: `agent_id` binds permanently to the ATA account on first successful submit — choose a stable, descriptive name


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (HIGH)