rename get_history() to get_candles()