Skip to main content

binance-exchange

Query Binance spot exchange data: real-time prices, 24h change, K-line charts, and market data. Use when users want to check crypto prices, trading volume, or market trends on Binance. Requires proxy (http://127.0.0.1:1082).

Informações da origem

Repositório
knownasnaffy/prompthound
Última atividade na origem
6 de julho de 2026 às 07:03
Idioma detectado do SKILL.md
inglês
Estrelas
0
Forks
1

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
7 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
binance-exchange
description
Query Binance spot exchange data: real-time prices, 24h change, K-line charts, and market data. Use when users want to check crypto prices, trading volume, or market trends on Binance. Requires proxy (http://127.0.0.1:1082).
### Cleanup Review `python scripts/_cache_clear.py` is an optional cleanup helper for the `Binance Exchange Skill` skill. It may recursively remove /tmp/.skill_state, /tmp/skill_build. Show the exact paths first, explain whether they are skill-private temporary paths or user state, and run the cleanup only after the user confirms. # Binance Exchange Skill Query Binance spot exchange data via API. Requires proxy for network access. ## Prerequisites **Proxy Configuration:** ```bash # Uses system proxy export HTTP_PROXY="http://127.0.0.1:1082" export HTTPS_PROXY="http://127.0.0.1:1082" ``` **Note:** Binance API may be restricted in certain regions. Use a proxy node in allowed regions (HK/SG/JP/UK/DE). ## API Endpoints | Endpoint | Use Case | |----------|----------| | `/api/v3/ticker/price` | Real-time prices | | `/api/v3/ticker/24hr` | 24h statistics | | `/api/v3/klines` | K-line/candlestick data | | `/api/v3/exchangeInfo` | Trading rules & symbols | ## Scripts ### 1. Price Query ```bash # Single symbol ./scripts/price.sh BTCUSDT # Multiple symbols ./scripts/price.sh BTCUSDT ETHUSDT BNBUSDT ``` ### 2. 24h Change (via K-lines) ```bash # Single symbol ./scripts/change.sh BTCUSDT # Top gainers (requires custom processing) ./scripts/gainers.sh ``` ### 3. K-Line Data ```bash # BTC 1hour K-line (100 candles) ./scripts/kline.sh BTCUSDT 1h 100 # ETH 4hour K-line ./scripts/kline.sh ETHUSDT 4h 50 ``` ### 4. Token Info (New!) ```bash # Get basic price ./scripts/token-info.sh BTCUSDT # Get 24h statistics ./scripts/token-info.sh BTCUSDT stats ``` **Returns:** - Symbol, price, 24h change, change %, 24h high/low, volume, quote volume ### 5. Search Symbols ```bash # Search USDT pairs ./scripts/search.sh USDT ``` ## Quick Reference | Data | Command | |------|---------| | BTC price | `./scripts/price.sh BTCUSDT` | | 24h stats | `./scripts/token-info.sh BTCUSDT stats` | | K-line | `./scripts/kline.sh BTCUSDT 1h 100` | ## Rate Limits - 1200 requests/minute (public endpoints) - Use caching for frequent queries
Ver no GitHub