trading-signals 6.6.1 → 6.6.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/README.md +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ The "trading-signals" library provides a TypeScript implementation for common te
|
|
|
10
10
|
|
|
11
11
|
The main focus of this library is on the accuracy of calculations, but using the provided [faster implementations][2] you can also use it where performance is important.
|
|
12
12
|
|
|
13
|
-
All indicators can be updated over time by streaming data (prices or candles) to the `
|
|
13
|
+
All indicators can be updated over time by streaming data (prices or [candles](https://en.wikipedia.org/wiki/Candlestick_chart)) to the `add` method. Some indicators also provide `static` batch methods for further performance improvements when providing data up-front during a backtest or historical data import. You can try it out streaming input data by running the provided [demo script](./src/start/demo.ts) with `npm start`, which uses a keyboard input stream.
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"prettier": "^3.5.3",
|
|
23
23
|
"pretty-quick": "^4.1.1",
|
|
24
24
|
"rimraf": "^6.0.1",
|
|
25
|
-
"ts-node": "^10.9.2",
|
|
26
25
|
"tsup": "^8.4.0",
|
|
26
|
+
"tsx": "^4.19.4",
|
|
27
27
|
"typedoc": "^0.28.4",
|
|
28
28
|
"typedoc-plugin-markdown": "^4.6.3",
|
|
29
29
|
"typescript": "^5.8.3",
|
|
@@ -96,13 +96,14 @@
|
|
|
96
96
|
"release:major": "generate-changelog -M -x \"chore,test\" && npm run changelog:commit && npm run docs:release && npm version major",
|
|
97
97
|
"release:minor": "generate-changelog -m -x \"chore,test\" && npm run changelog:commit && npm run docs:release && npm version minor",
|
|
98
98
|
"release:patch": "generate-changelog -p -x \"chore,test\" && npm run changelog:commit && npm run docs:release && npm version patch",
|
|
99
|
-
"start
|
|
99
|
+
"start": "tsx ./src/start/demo.ts",
|
|
100
|
+
"start:benchmark": "tsc --noEmit && tsx ./src/start/startBenchmark.ts",
|
|
100
101
|
"test": "npm run test:types && npm run test:imports && npm run test:units -- --coverage",
|
|
101
|
-
"test:units": "vitest run --passWithNoTests",
|
|
102
102
|
"test:exports": "attw --pack .",
|
|
103
103
|
"test:imports": "depcruise src --include-only \"^src\"",
|
|
104
|
-
"test:types": "npm run lint:types"
|
|
104
|
+
"test:types": "npm run lint:types",
|
|
105
|
+
"test:units": "vitest run --passWithNoTests"
|
|
105
106
|
},
|
|
106
107
|
"type": "module",
|
|
107
|
-
"version": "6.6.
|
|
108
|
+
"version": "6.6.2"
|
|
108
109
|
}
|