Skip to content

Releases: QTSurfer/sdk-java

v0.1.0

15 Apr 11:15

Choose a tag to compare

net.qtsurfer:sdk@0.1.0

Initial release of the opinionated Java SDK for QTSurfer, built on top of net.qtsurfer:api-client.

Highlights

  • QTSurfer facade with a fluent Builder (baseUrl, token, optional HttpClient / ExecutorService).
  • QTSurfer.backtest(BacktestRequest, BacktestOptions) orchestrates compile → prepare → execute, returns a CompletableFuture.
  • Async compile flow (X-Compile-Async: true) with Failsafe-driven polling, exponential backoff and per-stage timeouts.
  • Best-effort server-side cancelExecution when the returned future is cancelled after the execute stage has started.
  • QTSError hierarchy, StatusNormalizer for backend casing drift, SLF4J hook for logging.
  • 21 unit tests + integration test on binance BTC/USDT with ForcedTradeStrategy.

JitPack: com.github.QTSurfer:sdk-java:v0.1.0

<repository><id>jitpack.io</id><url>https://jitpack.io</url></repository>
<dependency>
  <groupId>com.github.QTSurfer</groupId>
  <artifactId>sdk-java</artifactId>
  <version>v0.1.0</version>
</dependency>