Tested account manipulations. Now we can calculate margin, free margin,
equity, profit loss and balance correctly.