@qtsurfer/api-client 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2026 QTSurfer
189
+ Copyright 2026 Wualabs LTD
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @qtsurfer/api-client
2
2
 
3
+ <p align="center">
4
+ <a href="https://github.com/QTSurfer/api-client-ts/actions/workflows/ci.yml"><img src="https://github.com/QTSurfer/api-client-ts/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
5
+ <a href="https://www.npmjs.com/package/@qtsurfer/api-client"><img src="https://img.shields.io/npm/v/@qtsurfer/api-client" alt="npm"></a>
6
+ <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License"></a>
7
+ </p>
8
+
3
9
  Auto-generated TypeScript API client for the [QTSurfer API](https://github.com/QTSurfer/qtsurfer-api), produced from the OpenAPI 3.1 spec with [`@hey-api/openapi-ts`](https://heyapi.dev/).
4
10
 
5
11
  This package is intentionally thin: one function per operation, 1:1 with the spec. For workflow orchestration (polling, retries, domain objects, unified errors), use [`@qtsurfer/sdk`](https://github.com/QTSurfer/sdk-ts).
@@ -43,6 +49,8 @@ All operations are exported as standalone functions; every operation accepts an
43
49
  | -------- | ------ | ---- | ------- |
44
50
  | `getExchanges` | GET | `/exchanges` | List available exchanges |
45
51
  | `getInstruments` | GET | `/exchange/{exchangeId}/instruments` | List instruments for an exchange |
52
+ | `getExchangeTickersHour` | GET | `/exchange/{exchangeId}/tickers/{base}/{quote}` | Download one hour of tickers as Lastra/Parquet |
53
+ | `getExchangeKlinesHour` | GET | `/exchange/{exchangeId}/klines/{base}/{quote}` | Download one hour of klines as Lastra/Parquet |
46
54
  | `postStrategy` | POST | `/strategy` | Compile a strategy |
47
55
  | `getStrategyStatus` | GET | `/strategy/{strategyId}` | Poll strategy compilation status |
48
56
  | `prepareBacktesting` | POST | `/backtesting/prepare` | Start a data preparation job |