edgartools icon indicating copy to clipboard operation
edgartools copied to clipboard

set_identity & Company not found in Edgar

Open nikhilbansal23 opened this issue 1 year ago • 4 comments

I have been trying to implement the Edgar tools, i followed the steps in the description, but not abale to import set identity and the other methods mentioned in the description. Please help I am trying to fetch SEC files

nikhilbansal23 avatar Mar 12 '25 13:03 nikhilbansal23

Image

nikhilbansal23 avatar Mar 12 '25 13:03 nikhilbansal23

You might have the wrong library installed - the library is called edgartools though you still from edgar import *

pip uninstall edgar
pip install -U edgartools

See if that works

dgunning avatar Mar 12 '25 14:03 dgunning

I did that also, but i am getting module not found error

Image

nikhilbansal23 avatar Mar 13 '25 05:03 nikhilbansal23

Uninstall and reinstall

pip uninstall edgar
pip install -U edgartools

Now run the code

from edgar import *

set_identity("[email protected]")

filings = get_filings()

dgunning avatar Mar 13 '25 12:03 dgunning