Skip to content

Latest commit

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Crypto Skill for Nanobot

Cryptocurrency

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.

Features

  • 💰 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

Installation

For Nanobot Users

  1. Clone this repository to your nanobot skills directory:

    git clone https://github.com/Ibook000/cryptoskill.git ~/.nanobot/workspace/skills/cryptoskill
  2. Install required dependencies:

    pip install httpx
  3. Restart your nanobot gateway service.

Configuration

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
}

Usage Examples

In your nanobot conversation, simply ask:

  • "查询比特币当前价格"
  • "获取以太坊最近24小时的1小时K线数据"
  • "批量查询BTC、ETH、BNB的价格"
  • "查看今天的加密货币新闻"

The skill will automatically handle the requests and provide formatted responses.

API Sources

  • Price/K-line/Funding Rate/Order Book: Binance Exchange API
  • News: Odaily API and NewsAPI (requires API key for NewsAPI)

Requirements

  • Python 3.8+
  • httpx library
  • Nanobot AI assistant

License

MIT License - See LICENSE for details.

Author

Created by Ibook000


This skill is designed specifically for the nanobot AI assistant.

About

Crypto MCP Server skill for nanobot - Cryptocurrency market data tools

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages