Has anyone hacked up a way to model margin fees or taxes? These are both very real costs associated with my trading and it would be helpful to simulate them in a backtest.