Preheat the oven to 350°F with the rack in the center of the oven.
Begin by sifting flour, baking powder, baking soda, salt, and spices together into a medium bowl. Whisk all dry ingredients together until combined and set the bowl off to the side.
In the bowl of the stand mixer (or a large bowl if using a hand mixer), beat the eggs, granulated sugar, and brown sugar on medium speed using the paddle attachment until well combined and lightened in color (approximately 2 minutes). Decrease the speed to low and add the oil, melted butter, milk, vanilla extract, ginger, and orange zest until blended. Make sure to scrape down the sides of the bowl, if necessary, so that everything is fully incorporated.
Next, add the flour mixture in 3 additions (to avoid overmixing and getting flour all over your kitchen). Mix flour into batter until just incorporated. Lastly, mix in shredded carrots and pecans until blended.