data isn't showing in django HTML

I want to show tradingsymbol but isn’t showing help me how to do this

Positiondata = {
'net': [{'tradingsymbol': 'NIFTY22N1018200CE', 'exchange': 'NFO', 'instrument_token': 12368386, 'product': 'MIS', 'quantity': 100, 'overnight_quantity': 0, 'multiplier': 1, 'average_price': 80, 'close_price': 0, 'last_price': 78.85, 'value': -8000, 'pnl': -115.00000000000091, 'm2m': -115.00000000000091, 'unrealised': -115.00000000000091, 'realised': 0, 'buy_quantity': 100, 'buy_price': 80, 'buy_value': 8000, 'buy_m2m': 8000, 'sell_quantity': 0, 'sell_price': 0, 'sell_value': 0, 'sell_m2m': 0, 'day_buy_quantity': 100, 'day_buy_price': 80, 'day_buy_value': 8000, 'day_sell_quantity': 0, 'day_sell_price': 0, 'day_sell_value': 0}], 
'day': [{'tradingsymbol': 'NIFTY22N1018200CE', 'exchange': 'NFO', 'instrument_token': 12368386, 'product': 'MIS', 'quantity': 100, 'overnight_quantity': 0, 'multiplier': 1, 'average_price': 80, 'close_price': 0, 'last_price': 78.85, 'value': -8000, 'pnl': -115.00000000000091, 'm2m': -115.00000000000091, 'unrealised': -115.00000000000091, 'realised': 0, 'buy_quantity': 100, 'buy_price': 80, 'buy_value': 8000, 'buy_m2m': 8000, 'sell_quantity': 0, 'sell_price': 0, 'sell_value': 0, 'sell_m2m': 0, 'day_buy_quantity': 100, 'day_buy_price': 80, 'day_buy_value': 8000, 'day_sell_quantity': 0, 'day_sell_price': 0, 'day_sell_value': 0}]
}

dataArray = {
“positionData” : Positiondata
}

 <tbody> {% for key, value in positionData.items  %} <tr>
                
                  <td> {{ key  }} </td>
                  <td> {{ value }} </td>
                  <td>
                    <b> {{ net.tradingsymbol }}   </b>
                  </td>
                
                </tr> {% endfor %} </tbody>

What are you passing into your render function as the context?

Also, notice in your loop your iteration values are key and value, you don’t have anything named net within that loop.

Finally, focus on what each data type is for every reference. You have multiple “layers” of data defined here.

i guess the reason is the types of data you rendering.
you have Positiondata is an object ().
and `Positiondata.keys values is an Array ().

i guess this will be :

<b> {{ key.tradingsymbol[0] }}   </b>

Could not parse the remainder: ‘[0]’ from ‘key.tradingsymbol[0]’