I use it daily to get all my portfolio data such as positions, trades etc. I use the flex queries for that. Let me know if you need help cleaning up the code.
Mel