For those of you who use Python, read on. I don't expect to provide basic instruction in using Python but will provide a few links of prerequisites to use the code.
I will include code to download and process the XML data from the IB website to the local disk and code to do a simple summation of commissions paid in separate posts.
See also this thread for a discussion of the FlexStatement improvements needed:
wip put link here.
Prerequisites:
- You will need to install Python if you don't have it. This is really beyond the scope of this discussion but links include:
- http://www.python.org
- http://www.cygwin.com (which is what I used on Windoze)
- http://activestate.com/python.plex
- http://www.linuxjournal.com/article/3882 Look here rather than asking my why I use Python.
- This code uses the "mechanize" package to connect to the web site:
- http://wwwsearch.sourceforge.net/mechanize/
- And uses "BeautifulSoup" to simplify access to the XML data in a compact way:
- http://www.crummy.com/software/BeautifulSoup/
See subsequent posts for code (and feel free to join in and post your own!).
I will include code to download and process the XML data from the IB website to the local disk and code to do a simple summation of commissions paid in separate posts.
See also this thread for a discussion of the FlexStatement improvements needed:
wip put link here.
Prerequisites:
- You will need to install Python if you don't have it. This is really beyond the scope of this discussion but links include:
- http://www.python.org
- http://www.cygwin.com (which is what I used on Windoze)
- http://activestate.com/python.plex
- http://www.linuxjournal.com/article/3882 Look here rather than asking my why I use Python.
- This code uses the "mechanize" package to connect to the web site:
- http://wwwsearch.sourceforge.net/mechanize/
- And uses "BeautifulSoup" to simplify access to the XML data in a compact way:
- http://www.crummy.com/software/BeautifulSoup/
See subsequent posts for code (and feel free to join in and post your own!).