Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndicatorHistory Doesn't Support IndicatorExtensions #8275

Open
4 tasks done
DerekMelchin opened this issue Aug 22, 2024 · 1 comment
Open
4 tasks done

IndicatorHistory Doesn't Support IndicatorExtensions #8275

DerekMelchin opened this issue Aug 22, 2024 · 1 comment

Comments

@DerekMelchin
Copy link
Collaborator

Expected Behavior

IndicatorHistory supports IndicatorExtensions

Actual Behavior

IndicatorHistory doesn't support IndicatorExtensions

Related issue

Potential Solution

N/A

Reproducing the Problem

https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_2516af7a33714edbb871c122fc8e0289.html

System Information

QC Cloud

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
@Martin-Molinero
Copy link
Member

roc = RateOfChangePercent(1)
std = StandardDeviation(21)
indicator = IndicatorExtensions.of(std, roc)
qb.indicator_history(indicator, symbol, 10, Resolution.DAILY).data_frame

I think for this to work the type returned by indicator extensions should know it's parent/source indicators and maybe if it's updated externally it could pass through the updates to it's parents or he could expose the indicators and the indicator history could handle the passthrough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants