fintech-algorithms
Using a coding agent? Give it the skill: npx skills add IslamBaraka90/Fintech-Algorithms-Library What it does →

Single-Candle Patterns

9 algorithms in Price Action and Candlesticks.

In this family#

  1. Doji contract

    Evaluates one candle against the repository's explicit doji geometry and scale convention.

    doji(inputs)
  2. Dragonfly Doji contract

    Evaluates one candle against the repository's explicit dragonfly-doji geometry and scale convention.

    dragonflyDoji(inputs)
  3. Gravestone Doji contract

    Evaluates one candle against the repository's explicit gravestone-doji geometry and scale convention.

    gravestoneDoji(inputs)
  4. Marubozu contract

    Evaluates one candle against the repository's explicit marubozu geometry and scale convention.

    marubozu(inputs)
  5. Spinning Top contract

    Evaluates one candle against the repository's explicit spinning-top geometry and scale convention.

    spinningTop(inputs)
  6. Hammer contract

    Evaluates one candle against explicit hammer geometry, scale, and downtrend context conventions.

    hammer(inputs)
  7. Hanging Man contract

    Evaluates one candle against explicit hanging-man geometry, scale, and uptrend context conventions.

    hangingMan(inputs)
  8. Inverted Hammer contract

    Evaluates one candle against explicit inverted-hammer geometry, scale, and downtrend context conventions.

    invertedHammer(inputs)
  9. Shooting Star contract

    Evaluates one candle against explicit shooting-star geometry, scale, and uptrend context conventions.

    shootingStar(inputs)

What they share#

Every topic here is a record-transform, so once you have called one the rest follow the same shape. Import paths differ only in the final segment:

ts
import { doji } from "fintech-algorithms/price-action-and-candlesticks/single-candle-patterns/doji";
import { dragonflyDoji } from "fintech-algorithms/price-action-and-candlesticks/single-candle-patterns/dragonfly-doji";

Read them in the order above — the sequence is pedagogical, not alphabetical.

Where this sits#

Price Action and Candlesticks collects 38 algorithms across 5 families. For the concept behind this family rather than the call signatures, see the concept guides.