org.ferris.yahoo.finance.jmce.handler
Interface CrudeOilHandler

All Known Implementing Classes:
CrudeOilHandlerByScrape

public interface CrudeOilHandler

Author:
mjr2586

Method Summary
 Oil getByCurrentContract()
          This handler needs to determine what is the current contract by figuring how today's date falls within the the last trading (LT) days setup for the year for Oil.
 

Method Detail

getByCurrentContract

Oil getByCurrentContract()
This handler needs to determine what is the current contract by figuring how today's date falls within the the last trading (LT) days setup for the year for Oil. This is determined by finding the first LT day which is >= to today. That LT day will be associated with a month and it is that month which is currently under contract. Once the contract month is know, the future's ticker symbol can be determined by: An email should be automatically set near the end of the year to lookup the dates for next year so they can be inserted into the database. This site may be good: #1 http://alpari-forex.com/en/trader/futures_exp/ #2 http://www.ccstrade.com/futures/light--sweet-crude-oil-futures-cl/exp/ If Not, a Google search of "YYYY oil futures expiration" should help find the information NOTE: Last Trading Day (LT) First Notice Day (FN)



Copyright © May 23, 2006-2012 The Ferris Foundation. All Rights Reserved.