I would like a code in C# to close my positions when I have 10% of cash in profit, but I can't find any topic on the matter, can you help me ?

Author