Commit ebafedd
committed
feat: add orders/trades/positions tables and timeline scatter to backtest report
- Add ORDERS and POSITIONS data to run_data in BacktestReport
- Add sortable tables for trades, orders, and positions per strategy
- Add Trade & Order Timeline scatter chart (Chart.js) with buy/sell markers
- Fix single-mode strategy pages (were dead code due to ID mismatch)
- Fix NAType serialization in best_year/worst_year metrics
- Unify strategy page rendering for both single and multi mode1 parent 96095a1 commit ebafedd
3 files changed
Lines changed: 403 additions & 25 deletions
File tree
- investing_algorithm_framework/app/reporting
- templates
Lines changed: 66 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
80 | 91 | | |
81 | 92 | | |
82 | 93 | | |
| |||
518 | 529 | | |
519 | 530 | | |
520 | 531 | | |
521 | | - | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
522 | 537 | | |
523 | 538 | | |
524 | 539 | | |
| |||
555 | 570 | | |
556 | 571 | | |
557 | 572 | | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
558 | 621 | | |
559 | 622 | | |
560 | 623 | | |
| |||
565 | 628 | | |
566 | 629 | | |
567 | 630 | | |
| 631 | + | |
| 632 | + | |
568 | 633 | | |
569 | 634 | | |
570 | 635 | | |
| |||
0 commit comments