The dynamic evolution of the charm hadron in hot quark matter was studied in the framework of a multiphase transport (AMPT) model. We first reproduced the open charm hadron $$D_0 p_{\mathrm{T}}$$ spectrum in Au + Au collisions at $$\sqrt{s_{\mathrm{NN}}} = 200$$ GeV by triggering the $${\mathrm{c}} {\bar{\mathrm{c}}}$$ production in AMPT, and then the elliptic flow of charm hadrons was described with different parton cascade cross sections. Charm hadron azimuthal angular correlations were proposed, and they are affected by the different parton cross-section parameter applied in the model, which can facilitate our understanding of the loss of collision energy of charm quarks in hot quark medium and can stimulate further experimental studies.