A Stock Strategy That Sells Existing Positions and Buys Four Stocks at the Opening Auction
Summary
This example shows a simple stock-trading routine in the Tonghuashun research environment. At the opening auction, it closes every existing position, then submits orders to allocate one third of the portfolio to each of four specified A-share stocks. The example sets the CSI 300 as a benchmark and includes a minute-frequency backtest configuration over a stated date range with a stated starting capital.
The document provides code but no backtest results or explanation for choosing these stocks, the one-third allocation, or the auction timing. Since four allocations of one third add up to more than the portfolio’s value, the sizing instructions may not behave as intended. It also does not describe transaction costs, slippage, order handling, or risk controls, so the snippet alone does not establish a viable trading strategy.
Key ideas
- The routine liquidates existing positions during the opening auction.
- It then allocates one third of the portfolio to each of four named stocks.
- The example configures a minute-frequency backtest against the CSI 300 benchmark.
- The document provides no evidence of performance or rationale for its stock choices and sizing.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.