Export trade history from M1 Finance to CSV
M1 Finance is an interesting robo-advisor on the market. The performance measurements of this application are hard to follow. I've created a script to pull your trade history from your statements into CSV. This will allow you to track your performance easily.
The output is a CSV file with the following headers: QTY,SYM,PRICE PAID,TOTA