Skip to content
All library documents

A Chinese Stock Strategy with Exit Rules and Market Drawdown Controls

Article SuperMind

Summary

This document presents a code-heavy Chinese equity strategy built around a third-party stock screener. It describes buying candidates from the screen, limiting the portfolio to a fixed number of holdings, and checking positions once per day. A position leaving the candidate pool may be sold after crossing a loss threshold, after a sufficiently profitable position retraces from its high, or after a time limit when neither exit condition applies. A sharp decline in the CSI 300 triggers liquidation and a cooldown before new purchases.

The post is framed as a request for help with a runtime error: a conditional evaluates a pandas Series where Python expects a single true-or-false value. It supplies no corrected implementation or evidence of strategy performance. The code also contains apparent variable-name inconsistencies and list-management risks, so the intended rules may not be implemented as written. The screen, price-series indexing, execution assumptions, and risk thresholds are platform- and data-dependent; the example should be treated as an unverified strategy sketch rather than a validated trading system.

Key ideas

  • The strategy combines screener-based stock selection with position-level loss, profit-retracement, and holding-period exits.
  • A large recent CSI 300 decline is intended to trigger liquidation and a pause in new buying.
  • The reported runtime error comes from using a Series in a condition that requires one Boolean value.
  • The example includes likely variable and portfolio-list inconsistencies and does not provide a fix.
  • No backtest or live performance evidence is supplied.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.