I posted a script along with the Permanent Open Market Operation dataset that was designed to process the POMO XML data from the NYFRB historical data interface.  However, this script required you to have already downloaded the data and put it in the proper location.

I’ve updated the script so that the most recent data is automatically retrieved directly from the NYFRB interface.  You can get the code below: