Skip to content

Commit

Permalink
Refactor portfolio plotting and rename shares to assets/position/amount
Browse files Browse the repository at this point in the history
  • Loading branch information
polakowo committed Jun 4, 2021
1 parent 85273bc commit 8dd8099
Show file tree
Hide file tree
Showing 44 changed files with 3,767 additions and 3,166 deletions.
3 changes: 2 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
patreon: vectorbt
patreon: vectorbt
custom: ['https://paypal.me/polakowo']
4 changes: 3 additions & 1 deletion apps/candlestick-patterns/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,9 @@ def update_stats(window_width, subplots, df_json, symbol, interval, date_range,
subplot_kwags['cum_returns_kwargs'] = dict(
benchmark_kwargs=dict(
trace_kwargs=dict(
line_color=adjust_opacity(color_schema['yellow'], 0.5),
line=dict(
color=adjust_opacity(color_schema['yellow'], 0.5)
),
name=symbol
)
)
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion docs/img/portfolio_plot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/img/portfolio_plot_custom.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/img/portfolio_plot_drawdowns.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/img/portfolio_plot_path.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
147 changes: 73 additions & 74 deletions examples/BitcoinDMAC.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/MACDVolume.ipynb

Large diffs are not rendered by default.

87 changes: 44 additions & 43 deletions examples/PairsTrading.ipynb

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions examples/PortfolioOptimization.ipynb

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions examples/PortingBTStrategy.ipynb

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions examples/StopSignals.ipynb

Large diffs are not rendered by default.

254 changes: 127 additions & 127 deletions examples/WalkForwardOptimization.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 8dd8099

Please sign in to comment.