make server candlestick demo sync with file demo