wow, 10 lines of code. Any algo i ever wrote has 1000s of lines. Trade
Management alone is a huge component. How wound you handle situations if stop does not get set or set at incorrect Level or with incorrect quantity. Just few examples. It takes a big effort to built robust algo engine, the...