Commit 78819d7
committed
Fix(history, utils): Correct 30m interval alignment and filtering\n\n- Updated history.py to pass the correct 'interval' (30m) to post-processing functions instead of the hacked 'params["interval"]' (15m).\n- Updated utils.py to use the interval duration for the start-time check, ensuring valid candles overlapping the market open (e.g. 09:00-09:30 for 09:15 open) are not dropped.
1 parent 132a029 commit 78819d7
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
| 323 | + | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
| 605 | + | |
605 | 606 | | |
606 | 607 | | |
607 | 608 | | |
| |||
0 commit comments