File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,12 @@ dependencies:
1919 - pytest-cov
2020 - pytest-xdist
2121
22- # Python template project dependencies
22+ # Python project dependencies
2323 - statsmodels
2424 - numpy
2525 - pandas >=2.2
2626 - plotly >=5.2.0,<6
27-
28- # Data dependencies
27+ - pyarrow>=10.0.1
2928 - yfinance >=0.2.54
3029
3130 # Install project
Original file line number Diff line number Diff line change 22import plotly .graph_objects as go
33from plotly .subplots import make_subplots
44
5+ pd .options .mode .copy_on_write = True
6+ pd .options .future .infer_string = True
7+ pd .options .plotting .backend = "plotly"
8+
59
610def plot_portfolio (portfolio , title , tac ):
711 """Main function to plot the portfolio performance and metrics."""
Original file line number Diff line number Diff line change 1+ import pandas as pd
12import plotly .graph_objects as go
23from plotly .subplots import make_subplots
34
5+ pd .options .mode .copy_on_write = True
6+ pd .options .future .infer_string = True
7+ pd .options .plotting .backend = "plotly"
8+
49
510def plot_signals (df , title ):
611 """Create Plotly figure to plot trading signals."""
You can’t perform that action at this time.
0 commit comments