Permalink
Browse files

Debugging fix for volume and open interest issue.

  • Loading branch information...
1 parent 54f642c commit e28c6585786b48417fa9e9156415fb78c02dec41 Thomas Fowler committed Mar 30, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 yahoo/finance/yahoo.finance.options.xml
View
6 yahoo/finance/yahoo.finance.options.xml
@@ -85,6 +85,7 @@
var vol;
var volStr;
var openInt;
+ var openIntStr;
var optTypeMatch;
@@ -109,10 +110,9 @@
bid = parseFloat( tr.td[4].span.text() );
ask = parseFloat( tr.td[5].span.text() );
volStr = tr.td[6].span.text();
- //y.log( "volStr: " + volStr );
- //vol = parseInt( tr.td[6].span.text() );
vol = volStr.toInt();
- openInt = parseInt( tr.td[7].p.text() );
+ openIntStr = tr.td[7].p.text();
+ openInt = openIntStr.toInt();
if ( changeDir.toLowerCase() == "down" )
{

0 comments on commit e28c658

Please sign in to comment.