Runtime Variable Issue

I am trying to capture traded instrument, strike, expiry, price and quantity with runtime variables. All values are getting correctly captured except quantity, which is getting returned as 0.0, in spite of position being taken. Syntax used is as follows:
S1_CE_Qty=Traded Instrument (‘Entry’, ‘quantity’, ‘NIFTY 50’, ‘1’, ‘1’, ‘1’). Strategy is getting executed (no error execution) upto only set 1 entry as in repair, universal conditions I have used this runtime variable.
Help please!