You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. All the functions are exported, you can call it in the same form to [c api](https://ta-lib.org/d_api/d_api.html), but there are some difference:
@@ -21,8 +37,7 @@ yarn add talib-binding
21
37
22
38
- call in the same form of `TA-Lib`:
23
39
```typescript
24
-
// import * as talib from 'talib-binding'
25
-
import*astalibfrom'./src/talib-binding.generated'
40
+
import*astalibfrom'talib-binding'
26
41
27
42
talib.SAR(
28
43
[2, 3, 4, 5], /* inHigh */
@@ -35,26 +50,24 @@ yarn add talib-binding
35
50
```
36
51
-passa`Record`arrayasthefirstparameter, thelibrarywillextractthefieldvalueautomatically, ifthefunction contains some implicit parameter name, you need to pass the name string to extract it. The implicit parameter means that the param is not one of `High`, `Low`, `Open`, `Close`, and `Volume`, just like `inReal`, more detailed information could be found in the TypeScript function signatures.
0 commit comments