To investigate the correlation between the levels of ApoB and LDL-C and the severity of coronary atherosclerosis in patients with myocardial infarction, and to further investigate whether ApoB is superior to LDL-C in assessing the residual risk after myocardial infarction, as well as to understand the correlation of TyG with acute myocardial infarction and the prognosis, a retrospective cohort study was performed. Here, APOB is linked to coronary atherosclerosis.