QuantConnect/Lean
Voir sur GitHubExtend LeastSquaresMovingAverage to Accept a Benchmark
Open
#6 984 ouverte le 20 févr. 2023
featuregood first issue
Métriques du dépôt
- Stars
- (18 979 stars)
- Métriques de merge PR
- (Merge moyen 1j 17h) (43 PRs mergées en 30 j)
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