I have written a code that makes the table almost, the only problem with it is that whenever there is a margin call or margin release, the deposit doesn't change by the value of the margin call/release (margin call needs to be added to the deposit, margin release needs to be taken away).
I can't move forward;
I need to simulate 1000 times the profit rate for every liquidity buffer (0%-100%) and make the liquidity profit rate table