Commit 5ffa5f4
fix: portfolio KeyError and deprecated matplotlib style
- Use .get() for total_current_value to prevent KeyError when metrics are incomplete
- Replace deprecated "seaborn" style with "default" (removed in matplotlib 3.6+)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1864e0a commit 5ffa5f4
File tree
2 files changed
+2
-2
lines changed- maverick_mcp
- api/routers
- backtesting
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments