candlestick
Version:
JavaScript library for candlestick patterns detection.
61 lines (39 loc) • 2.96 kB
Markdown
# Changelog
## [v1.0.2](https://github.com/cm45t3r/candlestick/tree/v1.0.2) (2025-07-25)
[Full Changelog](https://github.com/cm45t3r/candlestick/compare/v1.0.1...v1.0.2)
**Improvements & Refactors:**
- Refactored all pattern modules to remove redundant `require('./utils.js')` calls; now use imported utilities directly.
- Consolidated duplicate `isEngulfed` logic: only the utility version is used across the codebase.
- Added `paramCount` to all multi-candle patterns in `patternChain` for correct match length in results.
- Refactored `patternChain` to precompute candle properties once per call, improving efficiency and consistency.
- Expanded and clarified tests:
- Direct tests for all utility functions, including edge cases (doji, no range, negative/extreme values).
- Added/updated tests for multi-candle pattern matches and edge cases in `patternChain`.
- Updated documentation:
- README now includes explicit technical thresholds for patterns, performance tips, and a new FAQ.
- Clarified that the library does not mutate input data.
- Documented multi-candle match behavior and `paramCount` in pattern chaining.
- Cleaned up packaging:
- Removed `test/` and non-existent `HISTORY.md` from npm package files.
- Ensured only relevant documentation and source files are included.
**Other:**
- All tests pass and coverage is 100%.
---
## [v1.0.1](https://github.com/cm45t3r/candlestick/tree/v1.0.1) (2025-07-24)
[Full Changelog](https://github.com/cm45t3r/candlestick/compare/v1.0.0...v1.0.1)
## [v1.0.0](https://github.com/cm45t3r/candlestick/tree/v1.0.0) (2025-07-24)
[Full Changelog](https://github.com/cm45t3r/candlestick/compare/0.0.7...v1.0.0)
**Implemented enhancements:**
- Should detect Doji patterns. [\#11](https://github.com/cm45t3r/candlestick/issues/11)
- Cannot chain the patterns [\#2](https://github.com/cm45t3r/candlestick/issues/2)
## [0.0.7](https://github.com/cm45t3r/candlestick/tree/0.0.7) (2024-04-02)
[Full Changelog](https://github.com/cm45t3r/candlestick/compare/a8cff9de972b7541edcd76156d8d3b43c896813b...0.0.7)
**Fixed bugs:**
- Some Patterns return undefined [\#12](https://github.com/cm45t3r/candlestick/issues/12)
- Merge Conflicts in Your Package.json [\#5](https://github.com/cm45t3r/candlestick/issues/5)
- isEngulfed function [\#3](https://github.com/cm45t3r/candlestick/issues/3)
- Non installation fix & possible script error on test? [\#1](https://github.com/cm45t3r/candlestick/issues/1)
**Merged pull requests:**
- chore\(deps\): bump glob-parent from 5.1.1 to 5.1.2 [\#8](https://github.com/cm45t3r/candlestick/pull/8) ([dependabot[bot]](https://github.com/apps/dependabot))
- \[Snyk\] Fix for 1 vulnerable dependencies [\#4](https://github.com/cm45t3r/candlestick/pull/4) ([snyk-bot](https://github.com/snyk-bot))
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*