A nanobot skill that provides comprehensive cryptocurrency market data tools, including real-time prices, K-line data, funding rates, order book depth, and news aggregation.
- 💰 Real-time Price Queries: Single or batch price queries for cryptocurrencies
- 📊 K-line Data Analysis: Historical K-line data with multiple time intervals (1m to 1M)
- 💸 Funding Rate Monitoring: Historical funding rate data for perpetual contracts
- 📋 Market Depth: Order book data showing buy/sell orders
- 📰 News Aggregation: Cryptocurrency news from Odaily and NewsAPI
Clone this repository to your nanobot skills directory:
git clone https://github.com/Ibook000/cryptoskill.git ~/.nanobot/workspace/skills/cryptoskillInstall required dependencies:
pip install httpx
Restart your nanobot gateway service.
Create a config.json file in the skill directory (optional):
{
"news_api_key": "your_newsapi_key_here",
"max_retries": 3,
"retry_delay": 1,
"max_delay": 60
}In your nanobot conversation, simply ask:
- "查询比特币当前价格"
- "获取以太坊最近24小时的1小时K线数据"
- "批量查询BTC、ETH、BNB的价格"
- "查看今天的加密货币新闻"
The skill will automatically handle the requests and provide formatted responses.
- Price/K-line/Funding Rate/Order Book: Binance Exchange API
- News: Odaily API and NewsAPI (requires API key for NewsAPI)
- Python 3.8+
- httpx library
- Nanobot AI assistant
MIT License - See LICENSE for details.
Created by Ibook000
This skill is designed specifically for the nanobot AI assistant.