How ishmael0/indicators works
Project type and purpose
• From the README and file tree, this is a standalone, open-source TypeScript library (@debut/indicators) providing a suite of streaming technical indicators for trading applications. It is neither a full-stack web app nor a microservice but a utility SDK that consumers import, instantiate, and call in a streaming candle-by-candle context.
File structure
• Root configuration:
• .eslintrc, .prettierrc, tsconfig.json, rollup.config.js (build)
• jest.config.js (unit tests)
• package.json (dependencies, scripts)
• Core source (src/):
• Top-level indicator modules (ac.ts, adx.ts, atr.ts, … wws.ts)
• A “providers” subdirectory with common building-block algorithms (circular-buffer, correlation, true-range, sampler, standard-deviation, etc.)
• A “trendlines” subdirectory with models & utilities for drawing trading trend lines
• A utils.ts file for miscellaneous helpers
• Entry point: index.ts (exports all indicators, utils, providers)
• Tests (tests/):
• One directory per indicator or provider, with .spec.ts files and sample Excel/JSON data for validation
• Documentation: docs/ folder with Markdown pages for AcceleratorOscillator, UniLevel, etc.
README for additional insights
• Streaming, minimal-state design for “nextValue” and “momentValue” methods
• High-performance focus (benchmarked vs. alternatives)
• Extensible architecture: consumers can mix and match built-in providers and write custom indicators
Detail without over-segmenting
• Build/test pipeline as separate but connected components.