feature-f13-daily-max-trades

Limit daily automated stock trade entries by enforcing a maximum filled-trade count.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents overtrading by stopping new positions once the strategy has already completed a configured maximum number of successful trades in the current day.

Core Features & Use Cases

  • Daily max entry guard (F13): Enforces a limit on how many stock trades can be opened successfully per day.
  • Configurable enable switch: Allows turning the restriction on or off using f13_enabled.
  • Configurable threshold: Uses daily_max_trades to define the maximum allowed “entries that filled” for the day.

Use Case: In a high-volatility period, you want the bot to stop opening new positions after it has already executed a safe number of entries (e.g., 5) to reduce risk and churn.

Quick Start

Enable F13 by setting f13_enabled to true and set daily_max_trades to the maximum number of filled entries allowed per day.

Frequently Asked Questions about feature-f13-daily-max-trades

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

FAQPage Schema
How do I limit automated trading entries to prevent overtrading in Python?

To limit automated trading entries, you can enforce a daily maximum trade count that blocks new positions once a configured threshold of successfully filled entries is reached. This prevents overtrading by hard-returning on the entry decision path during engine ticks.

How does a daily trade limit engine guard work with fill tracking?

A daily trade limit engine guard works by tracking fill events; each time a filled entry occurs, it increments a daily counter. During subsequent engine ticks, it compares this counter against a maximum threshold to block new positions.

How do I configure a maximum trade threshold for my trading strategy?

You configure a maximum trade threshold by enabling a config flag like f13_enabled and setting daily_max_trades to the desired number of allowed filled entries per day, which the engine will check before opening new positions.

Can I turn off the daily trade limiting restriction without removing the code?

Yes, you can turn off the daily trade limiting restriction by setting the configurable enable switch f13_enabled to false, allowing the strategy to open new positions regardless of the daily filled entry count.

When should I use a daily max trades risk control in a trading strategy?

You should use a daily max trades risk control during high-volatility periods to reduce risk and churn, stopping the bot from opening new positions after executing a safe number of entries, such as five successful trades per day.