* Rand weakens 0.4 percent
* Retailers feature in decliners' list on bourse
* Government bonds flat (Adds detail, fresh quotes, updates figures)
JOHANNESBURG, Feb 20 (Reuters) - The South African rand slipped on Tuesday, retreating from last week's three-year high as investors bagged profits ahead of the government's budget speech.
Investors are also focusing on an expected cabinet shake-up under new President Cyril Ramaphosa and the future of Finance Minister Malusi Gigaba, who is due to deliver the budget speech on Wednesday.
South Africa is holding on to its only remaining investment credit rating from Moody's, which is widely expected to use the contents of the budget to decide its next move.
"The key determinant of whether South Africa will receive a downgrade from Moody's is tomorrow's budget," said Annabel Bishop, chief economist at Investec.
By 1528, the rand was trading 0.4 percent weaker at 11.73 per dollar, but within a striking distance of a three-year high of 11.56 scaled last week with the resignation of Jacob Zuma as president.
On the bourse, stocks fell sharply, led by retailers, amid concerns the budget would unveil tax proposals that would put pressure on consumer spending.
The benchmark Top-40 index fell 1.35 percent to 51,020 points, while the All-Share index dropped 1.32 percent to 57,929 points.
General retailers led the bourse lower, with Mr Price down 4.29 percent to 273.00 rand and Shoprite 2.69 percent weaker at 240.44
"It's probably in anticipation of a bad budget tomorrow, the market probably pricing in not very good news ... The sector that is most going to be hurt is the retailers," said BP Bernstein trader Vasili Girasis.
Elsewhere, AngloGold Ashanti fell 3.77 percent to 116.24 rand after posting lower annual earnings.
In fixed income, government bonds were flat, with the yield on the benchmark instrument due in 2026 at 8.10 percent. (Reporting by Tanisha Heiberg and Tiisetso Motsoeneng; Editing by Mark Potter)