It's starting to get confusing, for example would a function like dividends() be referring to dividends paid in a particular account, or how much the company has paid in dividends. Better to separate user/portfolio API calls from API calls focused on the company fundamentals/financials.
Make api a directory, add fundamentals, and portfolio modules there is one way to fix this.