Here we demonstrate how to indicate the start of each year by tacking on the year to each January in your X-axis. Below is a worked example:

The commands that I used are:
//Create a test dataset
clear
set obs 24
set seed 62470177
generate price = rexponential(500)
sort price
generate date = _n
replace date = date + tm(2022m12)
replace date = dofm(date)
format date %tdMonth_CCYY
//Set up labels
generate month = month(date)
generate strdate = string(date, "%tdMonth") if month != 1
replace strdate = string(date, "%tdCCYY_Month") if month == 1
generate newdate = _n
summarize newdate
forvalues i = 1/`r(max)' {
label define datelbl `i' `"`=strdate[`i']'"', modify
}
label values newdate datelbl
//Graph
twoway (line price newdate), xlabel(#24, labsize(small) angle(45) valuelabel)
For more useful tips on Stata graphs, please have a look at the book Speaking Stata Graphics