I have a DataFrame that looks some thing like this:
Date Amount_N Value_N Sub Type 2017-12-02 0.1 223 Buy 2017-11-21 0.