Hi, I found a documentation inconsistency.
In docs/initialization-and-usage.md, Example 6 (Using TA Cache for Performance) shows:
await pineTS.run(fn, undefined, true)
and describes the third argument as enabling cache.
However, in the current source, run() is defined as:
run(pineTSCode, periods?)
run(pineTSCode, periods, pageSize)
So the third argument is pageSize: number, not a boolean cache flag.
Relevant locations:
- Docs:
docs/initialization-and-usage.md Example 6
- Source:
src/PineTS.class.ts
It looks like the example is outdated or the docs need clarification about the current API.