Chart Rendering seems incorrect
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
### Expected behavior
When I am testing my strategy, I noticed the strategy was placing order at odd places on the charts. On the closer inspection, I think the OHLC rendering on the chart is incorrect
If you checked the time 10/17 21:05 PM
Correct data: Close = 1072.25
I expect to see the same data on chart.
### Code sample
```python
```
### Actual behavior
Incorrect data rendered on chart: Close = 1071.192
Any idea on why this is happening? Is it due to some misalignment issue?
### Additional info, steps to reproduce, full crash traceback, screenshots
_No response_
### Software versions
- `backtesting.__version__`: 0.6.5
- `pandas.__version__`: 2.3.2
- `numpy.__version__`: 2.2.6
- `bokeh.__version__`: 3.8.0
- OS: MacOS
Contributor guide
Research direction
Start by reproducing the 10/17 21:05 chart discrepancy with backtesting 0.6.5, pandas 2.3.2, numpy 2.2.6, and bokeh 3.8.0, then compare the source OHLC value with the rendered chart value. Done means identifying the rendering or alignment cause and making the chart show the expected close of 1072.25.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, pandas, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100