Using an electric pressure cooker, press Sauté. Once the pot is hot, heat vegetable or canola oil. Add ginger, garlic, white part of green onion, onion and dried chilis. Fry for 2-3 minutes, until the onion is translucent.
Add the beef, tomato paste, broad bean paste, soy sauce, dark soy sauce and ShaoHsing wine and stir.
Add the rock sugar and the bag of spices (or simply add the spices directly into the pot) and enough water to just cover the ingredients.
Close and lock the lid, making sure the steam knob is on Sealing/Locked. Pressure cook on high for 45 minutes.
Once the pressure cooking is done, let it natural pressure release for 15 minutes and then quick release the remaining pressure.
Skim some of the fat, if desired.