Hi all,
I studied the mysterious code for option symbols.
I only need historical data for at the money call and put options on S&P 500.
Since it is at-the-money option that I need, I am afraid that the
option codes will be changing in the last a few letters, because the
at-the-money strikes prices are changing daily.
A stupid method I can think of at this moment is:
1. Check historical $SPX price everyday;
2. For each day, map the at-the-money strike price to the mysterious code;
3. Construct the option symbol (which is different each day for
at-the-money options), and fetch the quotes of options with several
expiration dates for that date;
4. Loop the 1, 2, 3 steps to get all historical data.
My questions are:
1. In step 2, Is there a way to map the at-the-money strike price to
the code automatically? I cannot think of any good method right now.
2. Is there a way to obtain bid-ask prices for options?
3. Any better and smarter method than the above 4 steps?
IB has 1-year historical data restriction. Opentick doesn't go back to
year 2005 even for $SPX index prices. I am right now looking for some
other good data-sources.
Could anybody give some suggestions?
Thanks
I studied the mysterious code for option symbols.
I only need historical data for at the money call and put options on S&P 500.
Since it is at-the-money option that I need, I am afraid that the
option codes will be changing in the last a few letters, because the
at-the-money strikes prices are changing daily.
A stupid method I can think of at this moment is:
1. Check historical $SPX price everyday;
2. For each day, map the at-the-money strike price to the mysterious code;
3. Construct the option symbol (which is different each day for
at-the-money options), and fetch the quotes of options with several
expiration dates for that date;
4. Loop the 1, 2, 3 steps to get all historical data.
My questions are:
1. In step 2, Is there a way to map the at-the-money strike price to
the code automatically? I cannot think of any good method right now.
2. Is there a way to obtain bid-ask prices for options?
3. Any better and smarter method than the above 4 steps?
IB has 1-year historical data restriction. Opentick doesn't go back to
year 2005 even for $SPX index prices. I am right now looking for some
other good data-sources.
Could anybody give some suggestions?
Thanks