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

Plotting for HF data #39

Open
flipdazed opened this issue Nov 2, 2020 · 1 comment
Open

Plotting for HF data #39

flipdazed opened this issue Nov 2, 2020 · 1 comment

Comments

@flipdazed
Copy link
Contributor

Matplotlib is extremely slow at handling lots of data.

Suggest resampling kwarg for plotting to resample on a new time horizon

@saeedamen
Copy link
Contributor

Thanks @flipdazed! For the TradingModel class, lots of the plotting methods already have resample parameter. So if for example your strategy is an intraday strategy the plots by default only plot for every business day. You can also change the plotting engine to Plotly from Matplotlib too.

eg def plot_strategy_pnl(self, strip=None, silent_plot=False, reduce_plot=True, resample='B')

Or do you do you mean more generally, it would be good to have this functionality for chartpy, which is a dependency that is used here?

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