the margin that I used came from a book, it is originally 5% of my capital, and experimented with different values, tho the time of margin call is different, but i wanted to know why the trade exits too early which causes failure of the system , even specifying hard rules