How are the ten gods in the horoscope calculated?

The ten gods in the horoscope are based on the Rizhi in the horoscope. The specific names of the six relatives are determined based on the multiple functions of other heavenly stems and Rigan in the horoscope. They are: Bijian, Jie. Wealth, God of Cookery, Wounded Officials, Partial Wealth, Seven Kills of Zhengwei, Zhengguan, Partial Seal (Xiao), and Zhengyin. The principle of determining the ten gods is: the Rigan is me, and the person who gives birth to me (Rigan) is Yinxiao, that is, in the attributes of the five elements, the character of the birthday stem is Yinxiao; the person who restrains me (Rigan) is the official kill, that is, in the five elements The character that restrains Rigan in attributes is official killing; the one who restrains me (Rigan) is wife and wealth, the one who is born by me (Rigan) is injured by food, and the one who is with me (Rigan) is a calamity.