linwoodc3 / morningstar

Python module to pull historical financial data for securities using MorningStar.
Other
18 stars 12 forks source link

Request for Quarterly Financial Statements #1

Open vmwoods opened 6 years ago

vmwoods commented 6 years ago

Hello, this is a fantastic program. I have been using your module good morning to pull financial data to help me with a project. I have been using the class FinancialsDownloader to get the annual financial statements from morningstar. I was wondering if there is anyway to get the quarterly financial statements from morningstar using FinancialsDownloader? Do you know how to change your code to get the quarterly financial statements rather than yearly? If you could please help me, it would be greatly appreciated. Your module is amazing and has helped me out a lot. All I need is the quarterly financial statements from morningstar then my project will be complete.

linwoodc3 commented 6 years ago

Hi @vmwoods . I'll have to look at the code to see how to do it; also, the master branch is maintained by @petercerno (he also created this code) so if I add this feature, it may not be accepted into the library. I don't think Peter got around to adding his library to Pypi yet (meaning...it's not able to be "pip install"ed), so that means you'd have to choose which versions to use.

I'll look at quarterly data.

linwoodc3 commented 6 years ago

Figured it out already; will give it a try in a few days.

https://gist.github.com/hahnicity/45323026693cdde6a116#financials

vmwoods commented 6 years ago

Hey,

Thanks for getting back to me! I meant to message you last night but I find the API that he used to pull the data from Morningstar. I was being silly because the column labels were still showing years instead of showing the month because another part of the code deals with the labels. But it works great once you change the period from 12 to 3. I really appreciate you getting back to me! You are awesome!

--Vince

Sent from my iPhone

On Jan 17, 2018, at 7:02 AM, Linwood Creekmore notifications@github.com<mailto:notifications@github.com> wrote:

Figured it out already; will give it a try in a few days.

https://gist.github.com/hahnicity/45323026693cdde6a116#financials

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/linwoodc3/morningstar/issues/1#issuecomment-358313076, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APJZeatW3UFCbya3xbKV4WjQxnaHOI9Kks5tLf1RgaJpZM4Rdc22.