blave-quant

Fetch data, backtest and trade with Blave.

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 "blave-quant" with this command: npx skills add blave-tw/blave-quant-skill/blave-tw-blave-quant-skill-blave-quant

Blave CLI Skill

This skill provides a comprehensive interface to the blave command-line tool. Before executing any commands, ensure that blave is installed and the virtual environment is properly set up.

1. Fetch News

Purpose: Retrieve news articles using keywords with customizable language, period, and result limits.
When to Use: When you want to gather recent news for analysis or strategy signals.
Parameters:

  • keyword (str) — The search term to fetch news for. Required.
  • max_results (int, default=10) — Maximum number of news articles to return.
  • lang (str, default="en") — Language of the news articles (e.g., "en" for English, "zh" for Chinese).
  • period (str, default="7d") — Time range for news articles (e.g., "1d", "7d", "30d").

Execution Steps:

  • Run the fetch_news command with a keyword:
    blave fetch_news "bitcoin" --max_results 10 --lang en --period 7d
    

2. Fetch Hyperliquid Account Value And Position

Purpose: Retrieve your account value and position on Hyperliquid. When to Use: To monitor your assets and positions.

Execution Steps:

  • Run the command:
    blave fetch_hyperliquid_account
    

3. Adjust Hyperliquid Portfolio

Purpose: Automatically adjust your Hyperliquid positions to match a target portfolio. Supports both buying and selling based on current holdings. When to Use: To align your current positions with a predefined strategy or OpenClaw target portfolio.

Execution Steps:

  • Define your target portfolio as a JSON string. For example:

    '{"BTC": 500, "ETH": 300}'
    
  • Run the command:

    blave adjust_hyperliquid_portfolio '{"BTC": 500, "ETH": 300}'
    
  • The Skill will:

    1. Fetch your current Hyperliquid positions (perp and/or spot).

    2. Calculate the difference between current positions and target portfolio.

    3. Place market orders to buy or sell tokens as needed.

    4. Return a list of executed orders with details:

Notes:

  • target_portfolio amounts are in USD by default.

  • Small differences below a minimum threshold (min_usd_order) are ignored to prevent frequent tiny trades.

  • Make sure market_order function is properly configured for USD-to-token conversion and precision.

4. Fetch Holder Concentration

Purpose: Retrieve the latest Holder Concentration (籌碼集中度) for a given cryptocurrency. When to Use: When you want the most recent alpha metric to analyze market concentration and holder distribution. Parameters:

  • symbol (str) — Cryptocurrency symbol (e.g., "BTC", "ETH"). Required.

Execution Steps:

  • Run the fetch_holder_concentration command for a specific coin:
    blave fetch_holder_concentration BTC
    

5. Fetch Threads Insight Table

Purpose: Retrieve the latest Threads posts along with their engagement insights. When to Use: When you want to analyze recent Threads activity and metrics for your account. Execution Steps:

  • Run the fetch_threads_insight_table command to get the latest Threads data:
    blave fetch_threads_insight_table
    

6. Create Text Post

Purpose: Publish a new text-only post on Threads. When to Use: Use this to post updates, announcements, or any content directly to your Threads account. Parameters:

  • text (str) — The content of the post. Required.
  • reply_to_id (str) — Optional. ID of the post you want to reply to for creating a thread.

Execution Steps:

  1. Publish the first post
    Create and publish the first container normally to get its post ID.
blave create_text_post "Hello World from my bot!"
  1. Publish follow-up replies When creating the next container, pass reply_to_id with the previous post’s ID.
blave create_text_post "This is a reply to the first post" --reply_to_id first_id
  1. Chain multiple posts
    Repeat the process, always using the latest post’s ID as reply_to_id, to build a complete thread.
blave create_text_post "Continuing the thread..." --reply_to_id second_id

7. Fetch Taker Intensity

Purpose: Retrieve the latest Taker Intensity (多空力道) for a given cryptocurrency. When to Use: Use this command when you want to measure the aggressiveness of market participants (taker buying vs selling pressure) for a specific cryptocurrency. It helps identify short-term trading momentum and market dominance. Parameters:

  • symbol (str) — Cryptocurrency symbol (e.g., "BTC", "ETH"). Required.
  • timeframe (str) — Time range used for the taker intensity calculation (e.g., 1h, 4h, 24h). Optional. Default: 24h.

Execution Steps:

  • Run the fetch_holder_concentration command for a specific coin:
    blave fetch_taker_intensity BTC --timeframe 24h
    

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.

General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated
General

asr

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Archived SourceRecently Updated
General

axure-prototype-generator

Axure 原型代码生成器 - 输出 JavaScript 格式 HTML 代码,支持内联框架直接加载可交互原型

Archived SourceRecently Updated