Skip to content

🔨 Lookback-functions#71

Draft
serkor1 wants to merge 1 commit into
develfrom
70-lookback-function
Draft

🔨 Lookback-functions#71
serkor1 wants to merge 1 commit into
develfrom
70-lookback-function

Conversation

@serkor1

@serkor1 serkor1 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

📚 What?

This PR introduces unexported lookback-functions for calculating lookback-periods independently of the indicator functions. The goal is to provide an input validation step for downstream wrappers like {ledgr}, and similar packages that may or may not use different control-flows.

📋 TODO

  • Test the overhead of calculating lookback (should be O(1))
  • Implement unit-tests (attributes vs lookback)
  • Implement high-level wrapper talib::lookback(FUN, ...) similar to indicator()

This PR closes #70

@serkor1 serkor1 added the enhancement New feature or request label Jun 8, 2026
@serkor1 serkor1 linked an issue Jun 8, 2026 that may be closed by this pull request
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.67%. Comparing base (a2d960c) to head (3764c17).

Additional details and impacted files
@@           Coverage Diff           @@
##            devel      #71   +/-   ##
=======================================
  Coverage   96.67%   96.67%           
=======================================
  Files         280      280           
  Lines       21012    21012           
=======================================
  Hits        20314    20314           
  Misses        698      698           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@serkor1 serkor1 force-pushed the 70-lookback-function branch from d012108 to c672e7d Compare June 8, 2026 16:02
@serkor1 serkor1 force-pushed the 70-lookback-function branch from c672e7d to 3764c17 Compare June 8, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement loookback-function as development tools

1 participant