B
Box
Thanks in advance. I'm experienced with Excel but new to Access and have
some basic questions. Could really use some basic guidance to get to where
I'm going.
I have 3 tables, their format isn't set in stone yet, but they are 1. a
list of S&P 500 Index closing prices by date, 2. a list of S&P 500 Total
Return Index by date (different from #1 in that it includes dividends), and
3. a list of all the S&P 500 options (e.g. the options that are traded on
the entire index at the CBOE) closing prices. #3 is thousands of lines long
and each line is the following format...
Trade date, option expiration date (month and year), option strike price,
option type (call or put), that option's close price.
Each of these variable will have many duplicates, scores of distinct options
traded on Aug. 31, 2005; some expired in Sept., some in December, etc., there
are scores of option strike prices, each expiration and strike has puts and
call, etc. but there is a distinct record for each distinct option on a
single day once you've 'answered' all the variables.
What I want to be able to do is to get the following info. for every date
over a 30 day period: the S&P 500 Index close, the S&P 500 Total Return
Index close and the close for 4 specific, unchanging options (each option is
defined by an expiration month and year(this is in a single field so that
options expiring in Sept. 2005 are distinct from those expiring in Sept.
2006) , strike price, and type (call or put). I'll also need to do some
basic math to arrive at a daily index value based on the six closing prices.
At the end of the 30 days I'll identify 4 new specific options and repeat
for the next 30 day historical period.
I can manipulate the data and get it into Access tables. I can creat
queries, forms, etc. but don't really know how to wring out the precise data
I need without wading through a bunch of other stuff. I could really use
some guidance on the best way to retrieve just the 6 values I'll need for any
given date. The best format for the results would be...
Date, S&P Index close, S&P Total Return Index close, Option1 close, Option2
close, Option3 close, Option4 close
Next Date, S&P Index close, S&P Total Return Index close, Option1 close,
Option2 close, Option3 close, Option4 close
Next Date, etc.
I've thought about advanced filtering, forms, queries, pages, etc. and I'm
looking for a little 'local knowledge' before I spend a ton of time going
down blind alleys.
Thanks a bunch. I realize this is different than most questions.
B. Box
some basic questions. Could really use some basic guidance to get to where
I'm going.
I have 3 tables, their format isn't set in stone yet, but they are 1. a
list of S&P 500 Index closing prices by date, 2. a list of S&P 500 Total
Return Index by date (different from #1 in that it includes dividends), and
3. a list of all the S&P 500 options (e.g. the options that are traded on
the entire index at the CBOE) closing prices. #3 is thousands of lines long
and each line is the following format...
Trade date, option expiration date (month and year), option strike price,
option type (call or put), that option's close price.
Each of these variable will have many duplicates, scores of distinct options
traded on Aug. 31, 2005; some expired in Sept., some in December, etc., there
are scores of option strike prices, each expiration and strike has puts and
call, etc. but there is a distinct record for each distinct option on a
single day once you've 'answered' all the variables.
What I want to be able to do is to get the following info. for every date
over a 30 day period: the S&P 500 Index close, the S&P 500 Total Return
Index close and the close for 4 specific, unchanging options (each option is
defined by an expiration month and year(this is in a single field so that
options expiring in Sept. 2005 are distinct from those expiring in Sept.
2006) , strike price, and type (call or put). I'll also need to do some
basic math to arrive at a daily index value based on the six closing prices.
At the end of the 30 days I'll identify 4 new specific options and repeat
for the next 30 day historical period.
I can manipulate the data and get it into Access tables. I can creat
queries, forms, etc. but don't really know how to wring out the precise data
I need without wading through a bunch of other stuff. I could really use
some guidance on the best way to retrieve just the 6 values I'll need for any
given date. The best format for the results would be...
Date, S&P Index close, S&P Total Return Index close, Option1 close, Option2
close, Option3 close, Option4 close
Next Date, S&P Index close, S&P Total Return Index close, Option1 close,
Option2 close, Option3 close, Option4 close
Next Date, etc.
I've thought about advanced filtering, forms, queries, pages, etc. and I'm
looking for a little 'local knowledge' before I spend a ton of time going
down blind alleys.
Thanks a bunch. I realize this is different than most questions.
B. Box