The chief executive of Macquarie has announced her retirement hours before a tense annual general meeting was scheduled to kick off.

The chief of the “millionaires’ factory” will depart in November with a significant treasure chest built up over nearly four decades with the company.

The chief of the “millionaires’ factory” will depart after close to eight years in the job, to be replaced by the head of its banking arm, Greg Ward.