Skip to content

Commit 76ed23b

Browse files
sglyony-p
authored and
y-p
committed
DOC: Added note about changes in Options class to v0.11.0.txt
1 parent 4e49363 commit 76ed23b

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

doc/source/v0.11.0.txt

+20-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ While float dtypes are unchanged.
107107
Datetimes Conversion
108108
~~~~~~~~~~~~~~~~~~~~
109109

110-
Datetime64[ns] columns in a DataFrame (or a Series) allow the use of ``np.nan`` to indicate a nan value,
110+
Datetime64[ns] columns in a DataFrame (or a Series) allow the use of ``np.nan`` to indicate a nan value,
111111
in addition to the traditional ``NaT``, or not-a-time. This allows convenient nan setting in a generic way.
112112
Furthermore ``datetime64[ns]`` columns are created by default, when passed datetimelike objects (*this change was introduced in 0.10.1*)
113113
(GH2809_, GH2810_)
@@ -159,6 +159,25 @@ New features
159159
p.reindex(items=['ItemA']).squeeze()
160160
p.reindex(items=['ItemA'],minor=['B']).squeeze()
161161

162+
- In ``pd.io.data.Options``,
163+
164+
+ Fix bug when trying to fetch data for the current month when already
165+
past expiry.
166+
+ Now using lxml to scrape html instead of BeautifulSoup (lxml was faster).
167+
+ New instance variables for calls and puts are automatically created
168+
when a method that creates them is called. This works for current month
169+
where the instance variables are simply ``calls`` and ``puts``. Also
170+
works for future expiry months and save the instance variable as
171+
``callsMMYY`` or ``putsMMYY``, where ``MMYY`` are, respectively, the
172+
month and year of the option's expiry.
173+
+ ``Options.get_near_stock_price`` now allows the user to specify the
174+
month for which to get relevant options data.
175+
+ ``Options.get_forward_data`` now has optional kwargs ``near`` and
176+
``above_below``. This allows the user to specify if they would like to
177+
only return forward looking data for options near the current stock
178+
price. This just obtains the data from Options.get_near_stock_price
179+
instead of Options.get_xxx_data().
180+
162181
**Bug Fixes**
163182

164183
See the `full release notes

0 commit comments

Comments
 (0)