positionsize

  1. M

    AFL coding help needed for backtesting

    Hello, I'm new to AFL coding. I have designed a system that I wish to backtest. Everything works fine but I'm stuck at one simple point. I wish to keep #of shares constant & not to increase with increase in my capital. For example, I wish to trade in 2 lots of Nifty. than how do I let...