-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Extend LeastSquaresMovingAverage to Accept a Benchmark #6984
Copy link
Copy link
Open
Labels
featuregood first issueIf you're looking to get started as a LEAN contributor, check out these starter issues!If you're looking to get started as a LEAN contributor, check out these starter issues!
Description
Expected Behavior
Lean supports LeastSquaresMovingAverage as a Lean Indicator which takes a Symbol object, a benchmark Symbol, and a look-back period.
Actual Behavior
The current implementation assumes a constant slope: LeastSquaresMovingAverage.cs#L59. See #83.
Potential Solution
Implement this indicator.
Checklist
- I have completely filled out this template
- I have confirmed that this issue exists on the current
masterbranch - I have confirmed that this is not a duplicate issue by searching issues
- I have provided detailed steps to reproduce the issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featuregood first issueIf you're looking to get started as a LEAN contributor, check out these starter issues!If you're looking to get started as a LEAN contributor, check out these starter issues!