Skip to content

Commit

Permalink
Take expiration series from command line.
Browse files Browse the repository at this point in the history
  • Loading branch information
aasmith committed Aug 21, 2010
1 parent 0a9c07a commit f9a32b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/slurp.rb
Expand Up @@ -13,9 +13,9 @@
%w(VZ C GE DVY PGR COCO BP RIG)
end

#series = "100827"
series = "100821"
#series = "100918"
# series is the option symbol timestamp,
# such as 100821, 100918, etc.
series = ARGV[1]
expiry = Date.strptime series, "%y%m%d"

types = %w(C) # Call & Put
Expand Down

0 comments on commit f9a32b5

Please sign in to comment.