Good evening from Germany,
Finally I am posting my algorithm. I will not explain very much because the results (98,000%) are self-explaining. But you will see that in some phases the fund needs a lot of cash or you will receive a margin call.
Best,
Christian