feature-f9-price-range

Filter stock trades outside a YAML-configured price range during the trading loop.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/13g7895123/littile-bao --skill feature-f9-price-range
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-f9-price-range
Source: https://github.com/13g7895123/littile-bao/tree/main/.github/skills/feature-f9-price-range
Command: npx skills add https://github.com/13g7895123/littile-bao --skill feature-f9-price-range

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents executing trades for stocks whose limiting price falls outside a configured acceptable range, helping you avoid undesired picks like very low “egg-and-dumpling” stocks or overly high-priced stocks.

Core Features & Use Cases

  • Price-range gate (F9): Skips orders when the comparison price is outside [price_min, price_max].
  • Main switch control: Uses f9_enabled to turn the filter on or off without changing other settings.
  • Use Case: In a trading selection pipeline, pair F9 with other filters (e.g., per-stock allocation limits) to reduce cases where high-priced stocks get stuck due to insufficient tradable quantity.

Quick Start

Enable F9 and set price_min and price_max to the allowed bounds so the engine filters out stocks whose info.limit_up is outside that interval.

Frequently Asked Questions about feature-f9-price-range

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I filter trades by a specific stock price range?

To filter trades by a stock price range, you configure a price-range filter using YAML-defined thresholds (`price_min` and `price_max`) to skip orders when `info.limit_up` falls outside the acceptable interval during the trading engine tick loop.

How do I prevent trading very low or overly high-priced stocks?

You prevent trading undesired low or high-priced stocks by enabling a price-range gate that skips orders when the comparison price is outside the configured `[price_min, price_max]` bounds in your strategy configuration.

How can I turn off the price filter without changing other trading strategy settings?

You can turn off the price filter without changing other settings by toggling the `f9_enabled` YAML switch to false, which disables the order gating logic while preserving your configured `price_min` and `price_max` thresholds.

Why does the price-range filter use info.limit_up for order gating?

The price-range filter uses `info.limit_up` for order gating to ensure the comparison reflects the stock's limiting price, preventing the engine from missing ticks and executing trades outside the acceptable bounds.

How do I configure a price filter to avoid high-priced stocks getting stuck due to insufficient quantity?

To avoid high-priced stocks getting stuck, configure a price-range gate with an appropriate `price_max` limit and pair it with per-stock allocation limits in your trading selection pipeline to filter out stocks with insufficient tradable quantity.

What is the best way to integrate a price filter into an existing trading selection pipeline?

The best way to integrate a price filter into a trading pipeline is to enable the F9 toggle in your YAML configuration and pair it with other filters, allowing the engine to gate orders based on `info.limit_up` during the tick loop.