Candlestick charts on weekly and monthly base seem to show the wrong final price.
Quick analysis found that the price is calculated as average:
org.yccheok.jstock.charting.Utils.getWeeklyChartData and getMonthlyChartData generate the lastPrice as average:
lastPrice / count, // Average last price.
AFAIK this makes no sense. It should be the last price before the change of week / month.
Candlestick charts on weekly and monthly base seem to show the wrong final price. Quick analysis found that the price is calculated as average: org.yccheok.jstock.charting.Utils.getWeeklyChartData and getMonthlyChartData generate the lastPrice as average: lastPrice / count, // Average last price.
AFAIK this makes no sense. It should be the last price before the change of week / month.