feature-f1-entry-time-window

Block F1 entries after a time cutoff or when limit-up ask queue exceeds threshold.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents late-session entries by enforcing a strict time cutoff and a liquidity/queue-size gate, so orders are only placed when the best sell queue at the limit-up price remains under a configurable threshold.

Core Features & Use Cases

  • Time-gated entry window: Allows F1 entry only before a configured cutoff (default 10:00); once the current time reaches or exceeds the cutoff, the skill blocks entry.
  • Limit-up best sell queue threshold: Blocks entry when the tracked “best sell quantity at limit-up” (ask[0] when ask0_price equals the limit-up price) is greater than or equal to a configurable threshold (default 100).
  • Strategy tuning & troubleshooting workflow: Supports adjusting entry_before_time and ask_queue_threshold, validating why orders still appear near close, and understanding interaction points with other F-series switches (notably F10/F13 vs exit logic).

Quick Start

Configure the cutoff time and maximum ask-queue threshold in config and run the engine so F1 entries are allowed only when both the time window and the limit-up queue condition are satisfied.

Frequently Asked Questions about feature-f1-entry-time-window

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

FAQPage Schema
How do I block trading entries after a specific time using limit-up queue thresholds?

To block trading entries using limit-up queue thresholds, enforce a pre-cutoff time window and reject candidates when the sell queue size at the limit-up price reaches a configurable threshold. The skill checks current time against an entry cutoff and validates ask quantity.

Why does my trading strategy still enter positions near the market close when F1 gating is enabled?

If your trading strategy enters positions near market close, the entry_before_time configuration may be set too late or the ask_queue_threshold is too high. Verify that the engine tick logic correctly compares datetime.now() against your configured HH:MM cutoff.

What is a time-and-queue gated entry window for limit-up stock trading?

A time-and-queue gated entry window is a filtering mechanism that allows orders only before a cutoff time and when the best sell queue at the limit-up price remains under a configured threshold. It prevents late-session entries with excessive liquidity.

How to configure entry_before_time and ask_queue_threshold for F1 entry decisions?

To configure F1 entry decisions, set entry_before_time to your desired HH:MM cutoff and define the ask_queue_threshold in your config. The engine will then block entries when the limit-up ask quantity exceeds this threshold or time expires.

Can I use real-time market data to filter limit-up ask queues before 10:00?

Yes, you can filter limit-up ask queues before 10:00 using real-time market data. The skill derives ask quantity from ask0_price matching the limit-up price and blocks entry when the queue size exceeds your configured threshold or time passes the cutoff.

Does F1 entry gating interact with other F-series switches like F10 or F13 for exit logic?

F1 entry gating interacts with F-series switches like F10 and F13 primarily through exit logic separation. While F1 controls entry timing and queue thresholds, troubleshooting workflows confirm these switches manage different stages without conflicting with the entry validation.