huseinzol05 / Stock-Prediction-Models

Gathers machine learning and deep learning models for Stock forecasting including trading bots and simulations
Apache License 2.0
7.96k stars 2.81k forks source link

dates in plot #40

Closed HomunculusK closed 5 years ago

HomunculusK commented 5 years ago

I was trying deep learning models but I always get duplicated dates and couldn't figure out why, any idea is welcome 👍

Screenshot_3

huseinzol05 commented 5 years ago

You can skip it like this,

plt.xticks(
        np.arange(len(timestamp))[::5], timestamp[::5], rotation = '45', ha = 'right'
    )