Commit 4c60488
BUG: Restore original scale in FractionalBacktest plot (#1247)
* Restore original unit of fractional backtest for results/plot.
* Add pytest requirement.
* Add modified values to test.
* Revert "Add pytest requirement."
This reverts commit 9092e19.
* Add test for indicator scaling.
* Test params for fractional backtest plot.
* Refactor scaling of OHLC data to avoid duplication.
* REF: Fractionalize data df JIT before bt.run
* TST: Simplify test
* TST: Simplify another test
---------
Co-authored-by: arkershaw <721253+arkershaw@users.noreply.github.com>
Co-authored-by: Kernc <kerncece@gmail.com>1 parent ce74a34 commit 4c60488
2 files changed
+28
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
540 | 558 | | |
541 | 559 | | |
542 | 560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
937 | 942 | | |
938 | 943 | | |
939 | 944 | | |
| |||
0 commit comments