Cut the onion into half rings, grate the carrots on a coarse grater. Fry the vegetables in vegetable oil until al dente. Add spices, sugar, vinegar and ketchup. Cut the olives into slices and add them to the vegetables. Pour in a glass of boiled water, mix everything and reduce the heat to medium-low.