   <tbody>
$ n = 0
$for item in stocks:
    $ n = n + 1
    $ klass = ((n % 2) and 'odd') or 'even'
        <tr class="$:klass">
         <td style="text-align: center">$:n</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'] < 0.0:
             <td class="minus">$:item['change']</td>
             <td class="minus">$:item['ratio']</td>
        $else:
             <td>$:item['change']</td>
             <td>$:item['ratio']</td>
        $#
        </tr>
$#
   </tbody>
