For Example :-
Trade Type - CNC/NRML
Instrument - Nifty 50 Stocks
Initial Capital - 10 Lakhs,
Max Allocation per stock - 1 Lakh
Max Quantity - 100
In real time if my conditions get triggered only 10 trades can be taken at a time. but in streak back testing it takes trade in all the stocks(if the condition is true - say 34 stocks) at the same time. I want Streak back test to be like real time(I.e. take trades only when Capital is available). Am I doing something wrong tell me how to avoid this. @Streak
When you backtest a strategy by setting initial capital and maximum allocation, the specified amount is allocated to each script/instrument individually, not divided among them.
For instance, if you set an initial capital of ₹10 lakh, it will be assigned to each instrument added to the strategy. However, if you set the maximum allocation to ₹1,00,000, only ₹1,00,000 will be utilized per instrument.