binance-api-usage

Interface with the Binance API using python-binance. Use for automated trading, account management, market data retrieval, and real-time socket streaming. Contains examples for orders, historical data, and async operations.

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 "binance-api-usage" with this command: npx skills add jkpark/agent-skills/jkpark-agent-skills-binance-api-usage

Binance API Usage Skill

This skill provides a structured way to interact with the Binance exchange using the python-binance Python wrapper.

Core Workflows

1. Market Data Retrieval

Fetch current prices, order books, or historical K-line (candle) data.

2. Account & Portfolio Management

Check balances and manage account settings.

3. Order Execution

Place Market, Limit, or OCO (One-Cancels-the-Other) orders.

4. Real-time Streaming (WebSockets)

Stream ticker updates, trade data, or account updates using asyncio.

Best Practices

  • Security: Always use environment variables (BINANCE_API_KEY, BINANCE_API_SECRET or BINANCE_SECRET_KEY) instead of hardcoding keys.

  • .env file (required): Place your API keys in a .env file at the project root. If .env does not exist, create it from the provided template:

    cp skills/binance-trader/assets/.env.example .env
    # then edit .env and fill in your keys
    

    Scripts shipped with this skill will automatically look for .env in the script directory, the test/ folder, and the project root.

  • Error Handling: Wrap API calls in try-except blocks to handle BinanceAPIException.

  • Rate Limits: Be mindful of Binance's rate limits (weight-based).

  • Testnet: Use testnet=True during development to avoid losing real funds.

Resources

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.

Coding

Planning with files

Implements Manus-style file-based planning to organize and track progress on complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when aske...

Registry SourceRecently Updated
228.3K
Profile unavailable
Coding

Nutrient Document Processing (Universal Agent Skill)

Universal (non-OpenClaw) Nutrient DWS document-processing skill for Agent Skills-compatible products. Best for Claude Code, Codex CLI, Gemini CLI, Cursor, Wi...

Registry SourceRecently Updated
0262
Profile unavailable
Coding

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

Repository Source
23K212.7K
vercel