   <tbody>
{% for item in list %}
    <tr class="{% cycle odd,even %}">
     <td style="text-align: center">{{ forloop.counter }}</td>
     <td>
      <a href="/stocks/{{ item.symbol }}">{{ item.symbol }}</a>
     </td>
     <td>
      <a href="{{ item.url }}">{{ item.name }}</a>
     </td>
     <td>
      <strong>{{ item.price }}</strong>
     </td>
    {% if item.change  %}
     <td class="minus">{{ item.change }}</td>
     <td class="minus">{{ item.ratio }}</td>
    {% else %}
     <td>{{ item.change }}</td>
     <td>{{ item.ratio }}</td>
    {% endif %}
    </tr>
{% endfor %}
   </tbody>
