Preheat the oven to 190 C / Gas 5. Grease a 450g (1 lb) loaf tin.
In a large bowl beat together the margarine and sugar until pale and fluffy. Add eggs and beat well. Gradually stir in the chocolate, flour, almonds, coconut and vanilla. Beat until well mixed then spoon into the prepared loaf tin.
Bake for 30 to 40 minutes in the preheated oven until a skewer inserted into the centre come out clean. Remove from the oven and allow to cool before slicing and enjoying.