How to get Account Balance ?

I try to get Account Balance,  but the value is $0 . How to get correct value ,please ?

AccountFactory m_Account = m_company.Factories.AccountFactory;
EntityList<Account> m_AccountList = m_Account.List();
m_AccountList.Load();
decimal balance = m_AccountList.FirstOrDefault().GetEndingBalance(DateTime.Today);