I tried adjusting it in Initialize(), but that didn't work.
My adjusted value does show in a Print() statement, though.
I tried altering UI "set order quantity" to default quantity and that didn't work.
Is there some combination of settings I missed?
The current ATM template has the Order Qty value of 100, but I always want to change it prior to ATMStrategyCreate().
I would also like to change the stop and target values, similarly.
I am only using STOP1 and TARGET1
The NinjaTrader help file implies that this variable can be adjusted from within a strategy
"An order size variable that can be set either programmatically or overriden via the Strategy that determines the quantity of an entry order."
But the suggested fix didn't work when i used my desired value.
{
DefaultQuantity = 1;
}
Comment