Method to get balance + margin requirement of each closing month

 

Hi.

Is there a method to get the 1. balance and the 2. margin requirementof the account for the last month´s day, without having to run a routine to print this values each month?

Can I have this in retrospect?

Thank you.