You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: