In a medium pot, bring the rice and stock or water to a boil. Turn the heat to low and cook until the rice has absorbed all the liquid and is just tender about 15 to 17 minutes.
When the rice is thoroughly chilled and dry you are ready to fry. Heat the butter in a large skillet over medium heat. Add the mustard seeds and cook, stirring occasionally for about 5 minutes or until they begin to pop. Add the cashews and sauté gently for a minute or two. Add the rice and sprinkle the coriander and ginger over all. Add the rice and fry for an additional 5 to ten minutes, stirring occasionally. Remove from the heat and turn into a large mixing bowl.
Add the raisins and coconut to the fried rice mixture along with the remaining ingredients. Taste for seasoning and add salt, to taste. Refrigerate until 30 minutes before serving time.
30 minutes before serving time, add the shrimp and its marinade to the rice and toss to combine. Sprinkle with the remaining lime juice and toss again. Top with the remaining green onions and serve.