added logic to poll the btce and make historical record