Hi Guys,
Is there a way to get the previous days performance? I want to implement an anti martingale strategy where if yesterdays performance was negative I would half my unit size during today's trading.

Anyone know where the documentation would be for a command like that or would I need to somehow get orders closed previous day?

Any thoughts would be appreciated :D