Position Sizing Based on Current Account Size

NVM, I have figured out. It turns out I have to calculate the account balance on historical data.