Skip to content

Commit

Permalink
Debugging fix for volume and open interest issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fowler committed Mar 30, 2011
1 parent 54f642c commit e28c658
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yahoo/finance/yahoo.finance.options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
var vol;
var volStr;
var openInt;
var openIntStr;
var optTypeMatch;
Expand All @@ -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" )
{
Expand Down

0 comments on commit e28c658

Please sign in to comment.