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