@tradejs/types 1.0.0
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/README.md +36 -0
- package/dist/index.d.mts +842 -0
- package/dist/index.d.ts +842 -0
- package/dist/index.js +18 -0
- package/dist/index.mjs +0 -0
- package/package.json +28 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @tradejs/types
|
|
2
|
+
|
|
3
|
+
Shared TradeJS contracts and TypeScript types.
|
|
4
|
+
|
|
5
|
+
- Homepage: https://tradejs.dev
|
|
6
|
+
- Documentation: https://docs.tradejs.dev
|
|
7
|
+
- Core API docs: https://docs.tradejs.dev/api/framework
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm i @tradejs/types
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## What It Provides
|
|
16
|
+
|
|
17
|
+
`@tradejs/types` contains shared contracts used across the TradeJS ecosystem:
|
|
18
|
+
|
|
19
|
+
- strategy/runtime decision types
|
|
20
|
+
- plugin entry contracts
|
|
21
|
+
- connector contracts
|
|
22
|
+
- signal/order/backtest types
|
|
23
|
+
- AI/ML adapter types
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import type {
|
|
29
|
+
CreateStrategyCore,
|
|
30
|
+
StrategyConfig,
|
|
31
|
+
Signal,
|
|
32
|
+
Connector,
|
|
33
|
+
} from '@tradejs/types';
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Use this package for type imports shared between `@tradejs/core`, `@tradejs/node`, plugins, and external applications.
|