finance.options
Class OccVolumeQuery

java.lang.Object
  extended by finance.options.OccVolumeQuery

public class OccVolumeQuery
extends java.lang.Object

User: lyon Date: Jul 27, 2007 Time: 10:42:58 AM Copyright DocJava, Inc. 2005.


Constructor Summary
OccVolumeQuery()
           
 
Method Summary
static double getPutCallRatio(java.lang.String url)
           
static double getPutCallRatio(java.lang.String symbol, java.util.Date date)
           
static double[] getPutCallRatios(java.lang.String symbol, java.util.Date date, int numberOfPriorDays)
           
static java.lang.String getUrl(java.lang.String symbol, java.util.Date d)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OccVolumeQuery

public OccVolumeQuery()
Method Detail

getUrl

public static java.lang.String getUrl(java.lang.String symbol,
                                      java.util.Date d)

getPutCallRatio

public static double getPutCallRatio(java.lang.String symbol,
                                     java.util.Date date)
                              throws java.io.IOException
Throws:
java.io.IOException

getPutCallRatios

public static double[] getPutCallRatios(java.lang.String symbol,
                                        java.util.Date date,
                                        int numberOfPriorDays)
                                 throws java.text.ParseException,
                                        java.io.IOException
Throws:
java.text.ParseException
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.text.ParseException,
                        java.io.IOException
Throws:
java.text.ParseException
java.io.IOException

getPutCallRatio

public static double getPutCallRatio(java.lang.String url)
                              throws java.io.IOException
Throws:
java.io.IOException