How to place all money into one symbol?

I use same afl to run separately tickers(SPY, TLT, QQQ).
I want to invest all InitialEquity in the beginning for one ticker.
Some tickers can invest all, but some just invest a part of InitialEquity.
I don’t know why? Is there anything wrong in my afl?
Could I attach the backtest result?
The afl attached below:

SetOption("InitialEquity", 100000); 
// Position Quantity: max number of positions
PosQty = 1;//Param( "Number of Positions", 4, 1, 4, 1) ;

SetPositionSize( 100 / PosQty, spsPercentOfEquity );
SetOption("MaxOpenPositions", PosQty );
SetOption("CommissionMode", 3); //count hand cost by how much future
SetOption("CommissionAmount", 0.01); //one future hand cost 50 dollars
// the last one allows slightly shrinking pos size to accommodate for commissions.
// only required if you turned it off in the settings 
SetOption("AllowPositionShrinking", True );
Buy = 1; // buy and hold
Sell = 0;

Thank you.

It depends on the share price.
Chances are there will be some money left over, that's normal. Is that what you mean?

You need to also make sure that whatever underlying you want to trade has sufficient input parameters. Go to "Symbol Information" and make sure have those fields populated:

That's an example for a futures contract.

For stocks, this will do:

Dear Dionysos,

I check the "Symbol Information".
They are all the same configuration.
They all use below:
What should I check next?

Thank you.

next thing:

go to Backtester settings:

check detailed log.

run BT again and see what it says when it's supposed to buy your shares.


Dear Diontsys

I found the log below:
“TLT requested size is greater than 10 % of the bar volume. Limit applied.”

Thank you very much.

make sure this one is set to zero: