Skip to content

Parsing and classifying information downloaded from XP Investimentos (Notas de Corretagem) (Brokerage Notes)

License

Notifications You must be signed in to change notification settings

felipemaion/parsing_xpi_notas_corretagem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PARSING XPI's pdf 'NOTAS DE CORRETAGEM'

Parsing and classifying information downloaded from XP Investimentos (Notas de Corretagem) (Brokerage Notes)

HOW TO USE

  • To download the notas de corretagens: Login into your account, go to the page of the Brokeage Notes. Select the oldest file. Download it, as you normally would (I recommend using XP format) Run the script python nc_auto.py

    It should download the rest of the files... NOTE: You cannot use your computer, nor move your mouse during the process... since it works identifying the controls of the page, and moving and clicking to do it.

After that:

  • To Parse the information:

put the files into the folder 'pdf' and run the script:

ipython -i parse_pdfs.py

It will parse the information from the pdfs to txt files, and classify.

Currently only classifying stocks, REITs and Options.

ToDO

Wow... there are a lot to do here..

  • Identify the Daytrades.
  • Create the JSON
  • Refactor the code.
  • organize the information better.

About

Parsing and classifying information downloaded from XP Investimentos (Notas de Corretagem) (Brokerage Notes)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages