Crypto Market
БесплатноБез исполняемых скриптовНе проверенCryptocurrency market data and price alert monitoring tool based on CCXT. Supports multiple exchanges, real-time price tracking, and configurable…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Cryptocurrency Market & Price Alerts
A cryptocurrency market data fetching and price monitoring tool based on the CCXT library. It supports multiple exchanges, real-time monitoring, and smart alerts.
Features
- 🏢 Multi-Exchange Support - Defaults to Binance. Also supports OKX, Bybit, Gate.io, KuCoin, etc.
- 📊 Real-time Market Data - Get the latest prices, price changes, volumes, and more.
- 📈 OHLCV Data (Candlesticks) - Fetch historical price trends.
- 📖 Order Book - View market depth (bids and asks).
- 🔔 Price Alerts - Supports price thresholds and percentage change alerts.
- 👁️ Live Monitoring - Continuously monitor price movements.
Prerequisites
Install Dependencies
pip3 install ccxt --user
Usage
Check Real-Time Prices
# Default (Binance)
python3 scripts/crypto.py ticker BTC/USDT
# Use other exchanges
python3 scripts/crypto.py -e okx ticker ETH/USDT
python3 scripts/crypto.py -e bybit ticker BTC/USDT
Supported Exchanges:
binance- Binance (Default)okx- OKXbybit- Bybitgateio- Gate.iokucoin- KuCoinhuobi- Huobicoinbase- Coinbasekraken- Krakenbitfinex- Bitfinex
Get OHLCV (Candlestick) Data
# Get 1-hour candles, last 24 periods
python3 scripts/crypto.py ohlcv BTC/USDT --timeframe 1h --limit 24
# Get daily candles, last 30 periods
python3 scripts/crypto.py ohlcv ETH/USDT --timeframe 1d --limit 30
Timeframes:
1m- 1 minute5m- 5 minutes15m- 15 minutes1h- 1 hour4h- 4 hours1d- 1 day1w- 1 week1M- 1 month
View Order Book
python3 scripts/crypto.py orderbook BTC/USDT --limit 10
Live Price Monitoring
# Refresh every 10 seconds (default)
python3 scripts/crypto.py watch BTC/USDT
# Refresh every 5 seconds
python3 scripts/crypto.py watch ETH/USDT --interval 5
Price Alerts
Add Alerts
Price Threshold Alerts:
# Alert when BTC price breaks above 70000 USDT
python3 scripts/crypto.py alert-add BTC/USDT above 70000
# Alert when ETH price drops below 3000 USDT
python3 scripts/crypto.py alert-add ETH/USDT below 3000
Percentage Change Alerts:
# Alert when BTC rises more than 5%
python3 scripts/crypto.py alert-add BTC/USDT up_percent 5
# Alert when ETH drops more than 3%
python3 scripts/crypto.py alert-add ETH/USDT down_percent 3
View Alert List
python3 scripts/crypto.py alert-list
Example Output:
🔔 Price Alerts (3):
ID Pair Exchange Condition Status
------------------------------------------------------------------------------------------
BTC/USDT_1706941200 BTC/USDT binance Price > 70000 ⏳Monitoring
ETH/USDT_1706941300 ETH/USDT okx Price < 3000 ⏳Monitoring
BTC/USDT_1706941400 BTC/USDT binance Rise > 5% ⏳Monitoring
Check Alerts
# Manually check all alert conditions
python3 scripts/crypto.py alert-check
When a condition is triggered, it shows:
⚠️ Triggered 1 alert:
🚀 BTC/USDT rose by 5.23%, current price: 71234.56
Alert ID: BTC/USDT_1706941400
Remove Alerts
python3 scripts/crypto.py alert-remove BTC/USDT_1706941200
Command Reference
| Command | Function | Example |
|---|---|---|
ticker |
Real-time prices | ticker BTC/USDT |
ohlcv |
Candlestick data | ohlcv BTC/USDT --timeframe 1h |
orderbook |
Order book | orderbook BTC/USDT |
watch |
Live monitoring | watch BTC/USDT --interval 5 |
alert-add |
Add an alert | alert-add BTC/USDT above 70000 |
alert-remove |
Remove an alert | alert-remove ID |
alert-list |
List alerts | alert-list |
alert-check |
Check alerts | alert-check |
Global Arguments
| Argument | Short | Description | Default |
|---|---|---|---|
--exchange |
-e |
Exchange name | binance |
--timeframe |
-t |
Candlestick timeframe | 1h |
--limit |
-l |
Data limit (count) | 24 |
--interval |
-i |
Refresh interval (sec) | 10 |
Alert Conditions
| Condition | Description | Example |
|---|---|---|
above |
Price goes above threshold | above 70000 |
below |
Price drops below threshold | below 3000 |
up_percent |
Price rises by % | up_percent 5 |
down_percent |
Price drops by % | down_percent 3 |
Use Cases
Scenario 1: Tracking specific price targets
# Alert when BTC breaks previous high
python3 scripts/crypto.py alert-add BTC/USDT above 69000
# Regularly check
python3 scripts/crypto.py alert-check
Scenario 2: Monitoring support/resistance levels
# ETH drops below key support
python3 scripts/crypto.py alert-add ETH/USDT below 2800
# BTC breaks resistance
python3 scripts/crypto.py alert-add BTC/USDT above 72000
Scenario 3: Volatilit
Установить Crypto Market в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Crypto Market?
Cryptocurrency market data and price alert monitoring tool based on CCXT. Supports multiple exchanges, real-time price tracking, and configurable price/volatility alerts. Use when the user needs to monitor crypto prices or set up trading alerts. Default exchange is Binance.
Как установить скилл Crypto Market?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Crypto Market запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic