Release note
Three more kinds of rule: a holding time, a fall from a high, a market filter
From 11 October the Strategy Agent can test three kinds of rule it used to turn away.
Hold for a set time. "Buy NVDA when it gaps up 2% and hold for 10 days." The rule sells at the close of the tenth trading day after it bought. A week is read as 5 trading days and a month as 21. A holding time with no number, such as "a few days", is asked about and not guessed.
A fall from a recent high. "Buy SPY when it is 10% below its 52 week high." With no period given, the high is taken over the last 252 trading days, which is about a year. The agent says so and asks you to confirm before it runs. A fall from the all-time high cannot be read: the high can look back about two years at most, and the 52-week version is offered in its place.
A market filter. A rule can depend on the wider market as well as on the share: "only when the market is above its 200 day average", or "when the VIX is below 20". The market is read as SPY, a fund that tracks the S&P 500 index of large US companies, and the result says so. The VIX is a measure of how much movement traders expect in US shares. A rule like this is shown to you first, and runs when you confirm it.
Sell after a set gain. "Sell after a 15% gain" now sells the whole holding once it is up by that much since it was bought.
The result lists each of these as it ran. A test describes the past. It is not a forecast and it is not advice.