Skip to content

Commit 20893f7

Browse files
committed
docs(strategy-format): generalise to base-class family; delegate to strategy-skills
The section previously stated strategies "extend AbstractTickerStrategy" (single type). Broaden to "extends a strategy base class chosen by its data source; AbstractTickerStrategy (live tickers) is the most common" — accurate now that AbstractKlineStrategy and AbstractFundingRateStrategy are also documented in the skill. Remove the stale `// ... see SDK docs for the full strategy API` comment. Reframe the skill reference as the source of truth for the full base-class family and all authoring guidance, reducing future drift.
1 parent 3c47420 commit 20893f7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,10 @@ Signals: 100000
196196

197197
## Strategy format
198198

199-
Strategies are written in Java and extend `AbstractTickerStrategy`. The MCP server compiles them server-side — no local Java compiler required.
199+
Strategies are plain Java classes compiled server-side — no local Java compiler required. Each one extends a strategy base class chosen by its data source; `AbstractTickerStrategy` (live tickers) is the most common.
200200

201201
```java
202202
import com.wualabs.qtsurfer.engine.strategy.AbstractTickerStrategy;
203-
// ... see SDK docs for the full strategy API
204203

205204
public class MyStrategy extends AbstractTickerStrategy {
206205
@Override
@@ -210,7 +209,7 @@ public class MyStrategy extends AbstractTickerStrategy {
210209
}
211210
```
212211

213-
For help writing strategies — indicators, window listeners, state management, examples, and advanced patterns — install the **[QTSurfer Strategy Skills](https://github.com/QTSurfer/strategy-skills)**:
212+
The **[QTSurfer Strategy Skills](https://github.com/QTSurfer/strategy-skills)** are the source of truth for writing strategies — the full base-class family, indicator catalogue, window listeners, state management, signal emission, worked examples, and advanced patterns. Install:
214213

215214
```bash
216215
npx skills add QTSurfer/strategy-skills

0 commit comments

Comments
 (0)