Skip to content

Conversation

@Satvik-Singh192
Copy link
Contributor

Description

This pull request adds a new example factor — BollingerBandsFactor — under
src/quant_research_starter/factors/.

The factor computes the z-score of price relative to a rolling Bollinger Band.
Additionally, this PR updates __init__.py for factor exports, adds relevant unit tests,
and updates the README with a short mention.


Semver Changes

  • Patch (bug fix, no new features)
  • Minor (new features, no breaking changes)
  • Major (breaking changes)

Issues

Closes #3 — Add Bollinger Bands factor


Checklist

  • Implemented BollingerBandsFactor in src/quant_research_starter/factors/bollinger.py.
  • Exported new factor in src/quant_research_starter/factors/__init__.py.
  • Added corresponding unit tests in tests/test_factors.py.
  • Updated README with mention of the new factor.
  • Verified that pytest passes and coverage is unchanged or improved.
  • I have read the Contributing Guidelines.

devraushan and others added 27 commits October 22, 2025 18:20
rules and regulations explained on ai usage
Implements BollingerBandsFactor to compute z-score of price vs rolling mean and std.
Includes tests and integration into factors module.

Closes OPCODE-Open-Spring-Fest#3
Implements BollingerBandsFactor to compute z-score of price vs rolling mean and std.
Includes tests and integration into factors module.
Closes OPCODE-Open-Spring-Fest#3
Testing section added to pull request template.
team name typo updated
no changes added
original code intact
sample prices to be locally generated
imports arranged according to commitlint.md
Lint issue fixed
lint issue fixed
@ayushkrtiwari ayushkrtiwari added Semver:minor minor version changes PR:Accept To acknowledge the PR Type:Medium junior developers talks labels Oct 23, 2025
@ayushkrtiwari ayushkrtiwari merged commit c186ca8 into OPCODE-Open-Spring-Fest:main Oct 23, 2025
13 of 17 checks passed
@Satvik-Singh192 Satvik-Singh192 deleted the feat/clean-bollinger-bands-factor branch October 27, 2025 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted PR:Accept To acknowledge the PR Semver:minor minor version changes Type:Medium junior developers talks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Bollinger Bands factor

4 participants