Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Integrations
Alpaca Markets CLI
Try itThis skill provides integration with the Alpaca Markets API for trading stocks, options, and cryptocurrencies. Use it when you need to interact with Alpaca's...
What it does
This skill enables programmatic access to Alpaca Markets for automated trading, portfolio management, and market data retrieval via their REST API. It supports both live and paper trading accounts for stocks, options, and crypto.
The skill document
Alpaca
Overview
This skill enables programmatic access to Alpaca Markets for automated trading, portfolio management, and market data retrieval via their REST API. It supports both live and paper trading accounts for stocks, options, and crypto.
Quick Start
Authentication
To use the Alpaca API, you need an API key and secret. Obtain these from your Alpaca account dashboard.
- Paper trading:
https://paper-api.alpaca.markets - Live trading:
https://api.alpaca.markets
Set environment variables:
ALPACA_API_KEYALPACA_API_SECRETALPACA_BASE_URL(optional; defaults to paper trading URL)
Security / Credential Use
- Use paper trading credentials by default.
- Do not use live trading credentials until you have audited the code path you plan to run.
- Keep
ALPACA_BASE_URLunset unless you intentionally need a non-default environment. - Consider running the helper scripts in an isolated container or VM during evaluation.
Example Usage
- Place a stock or crypto order:
POST /v2/orders - Fetch account balance:
GET /v2/account - Get positions (stocks/options/crypto):
GET /v2/positions - List orders:
GET /v2/orders
API Operations
Trading API
- Get Account:
GET /v2/account - Place Order:
POST /v2/orders(stocks, options, crypto) - List Orders:
GET /v2/orders - Get Order:
GET /v2/orders/{order_id} - Replace Order:
PATCH /v2/orders/{order_id} - Cancel Order:
DELETE /v2/orders/{order_id} - Cancel All Orders:
DELETE /v2/orders - Get Positions:
GET /v2/positions - Close Position:
DELETE /v2/positions/{symbol} - Close All Positions:
DELETE /v2/positions - Get Assets:
GET /v2/assets
Market Data
- Use Alpaca Market Data API endpoints for crypto quotes and bars (see
references/api_reference.md).
Included Files
scripts/alpaca_api.py: command-line helper for calling Alpaca endpoints with robust error handling and exit codes.scripts/example.py: sample script showing account and order calls.agents/openai.yaml: Clawhub/OpenClaw interface manifest for display name and default prompt metadata.references/api_reference.md: concise endpoint reference and payload examples.
Related skills
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Save, search, and manage personal notes and knowledge bases in Get笔记 on explicit request.
More from oscraters
Browse all skillsUse this skill to fetch TAAPI.IO indicator data for crypto or stocks, including fast single-indicator requests and bulk/multi-construct queries for agentic t...
Comprehensive Interactive Brokers (IBKR) TWS/Gateway skill using ib_insync. Includes Python and bash CLIs for account, market data, historical data, contract...
Use Weibo Open Platform for OAuth2 authentication, timeline retrieval, topic search, and structured social sentiment collection. Trigger this skill when task...
Agentic trading and market-data workflows for Futu OpenD (MooMoo/Futu OpenAPI), including OpenClaw-compatible secret-ref credential loading, account discover...
Intent-alignment orchestration for OpenClaw agent teams across diverse host environments. Use when work must stay anchored to user goals while allowing flexi...
Use this skill when users need Alpha Vantage market data or indicators (stocks, ETFs, forex, crypto, commodities, macro, company fundamentals) via the offici...