A yarn winding machine, comprising: a yarn traversing device adapted to traverse a yarn to be wound into a package, a correction width setting section adapted to set an end correction width for correcting a predetermined target traverse width dependent on a predicted package winding diameter, and a control section adapted to control the yarn traversing device so as to traverse the yarn under a traverse width determined in accordance with the end correction width that has been set by the correction width setting section; a standard diameter setting section adapted to set the predicted package winding diameter as a standard diameter, and a package diameter acquiring section adapted to acquire a package diameter, which is a wound diameter of the package, wherein, when the package diameter acquired by the package diameter acquiring section is the standard diameter, the control section is adapted to control the yarn traversing device so as to traverse the yarn under a traverse width determined in accordance with the end correction width that has been set dependent on the standard diameter, characterized in that the standard diameter setting section includes: a smaller-diameter portion standard diameter setting section adapted to set a standard diameter of a smaller-diameter portion of a cone winding package, and a larger-diameter portion standard diameter setting section adapted to set a standard diameter of a larger-diameter portion of the cone winding package, and the correction width setting section includes: a smaller-diameter portion correction width setting section adapted to set an end correction width of the smaller-diameter portion of the cone winding package dependent on the standard diameter set by the smaller-diameter portion standard diameter setting section, and a larger-diameter portion correction width setting section adapted to set an end correction width of the larger-diameter portion of the cone winding package dependent on the standard diameter set by the larger-diameter portion standard diameter setting section. a yarn traversing device adapted to traverse a yarn to be wound into a package, a correction width setting section adapted to set an end correction width for correcting a predetermined target traverse width dependent on a predicted package winding diameter, and a control section adapted to control the yarn traversing device so as to traverse the yarn under a traverse width determined in accordance with the end correction width that has been set by the correction width setting section; a standard diameter setting section adapted to set the predicted package winding diameter as a standard diameter, and a package diameter acquiring section adapted to acquire a package diameter, which is a wound diameter of the package, wherein, when the package diameter acquired by the package diameter acquiring section is the standard diameter, the control section is adapted to control the yarn traversing device so as to traverse the yarn under a traverse width determined in accordance with the end correction width that has been set dependent on the standard diameter, characterized in that the standard diameter setting section includes: a smaller-diameter portion standard diameter setting section adapted to set a standard diameter of a smaller-diameter portion of a cone winding package, and a larger-diameter portion standard diameter setting section adapted to set a standard diameter of a larger-diameter portion of the cone winding package, and the correction width setting section includes: a smaller-diameter portion correction width setting section adapted to set an end correction width of the smaller-diameter portion of the cone winding package dependent on the standard diameter set by the smaller-diameter portion standard diameter setting section, and a larger-diameter portion correction width setting section adapted to set an end correction width of the larger-diameter portion of the cone winding package dependent on the standard diameter set by the larger-diameter portion standard diameter setting section. a smaller-diameter portion standard diameter setting section adapted to set a standard diameter of a smaller-diameter portion of a cone winding package, and a larger-diameter portion standard diameter setting section adapted to set a standard diameter of a larger-diameter portion of the cone winding package, and the correction width setting section includes: a smaller-diameter portion correction width setting section adapted to set an end correction width of the smaller-diameter portion of the cone winding package dependent on the standard diameter set by the smaller-diameter portion standard diameter setting section, and a larger-diameter portion correction width setting section adapted to set an end correction width of the larger-diameter portion of the cone winding package dependent on the standard diameter set by the larger-diameter portion standard diameter setting section. a smaller-diameter portion correction width setting section adapted to set an end correction width of the smaller-diameter portion of the cone winding package dependent on the standard diameter set by the smaller-diameter portion standard diameter setting section, and a larger-diameter portion correction width setting section adapted to set an end correction width of the larger-diameter portion of the cone winding package dependent on the standard diameter set by the larger-diameter portion standard diameter setting section.