@@ -589,15 +589,14 @@ def get_options_data(self, month=None, year=None, expiry=None):
589589
590590 Parameters
591591 ----------
592- month: number, int, optional(default=None)
592+ month : number, int, optional(default=None)
593593 The month the options expire. This should be either 1 or 2
594594 digits.
595595
596- year: number, int, optional(default=None)
596+ year : number, int, optional(default=None)
597597 The year the options expire. This should be a 4 digit int.
598598
599- expiry: Option expiry, date-like or convertible or list-like object
600- that contains date-like or convertible objects, optional (default=None)
599+ expiry : date-like or convertible or list-like object, optional (default=None)
601600 The date (or dates) when options expire (defaults to current month)
602601
603602 Returns
@@ -723,15 +722,14 @@ def get_call_data(self, month=None, year=None, expiry=None):
723722
724723 Parameters
725724 ----------
726- month: number, int, optional(default=None)
725+ month : number, int, optional(default=None)
727726 The month the options expire. This should be either 1 or 2
728727 digits.
729728
730- year: number, int, optional(default=None)
729+ year : number, int, optional(default=None)
731730 The year the options expire. This should be a 4 digit int.
732731
733- expiry: Option expiry, date-like or convertible or list-like object
734- that contains date-like or convertible objects, optional (default=None)
732+ expiry : date-like or convertible or list-like object, optional (default=None)
735733 The date (or dates) when options expire (defaults to current month)
736734
737735 Returns
@@ -785,15 +783,14 @@ def get_put_data(self, month=None, year=None, expiry=None):
785783
786784 Parameters
787785 ----------
788- month: number, int, optional(default=None)
786+ month : number, int, optional(default=None)
789787 The month the options expire. This should be either 1 or 2
790788 digits.
791789
792- year: number, int, optional(default=None)
790+ year : number, int, optional(default=None)
793791 The year the options expire. This should be a 4 digit int.
794792
795- expiry: Option expiry, date-like or convertible or list-like object
796- that contains date-like or convertible objects, optional (default=None)
793+ expiry : date-like or convertible or list-like object, optional (default=None)
797794 The date (or dates) when options expire (defaults to current month)
798795
799796 Returns
@@ -849,25 +846,24 @@ def get_near_stock_price(self, above_below=2, call=True, put=False,
849846
850847 Parameters
851848 ----------
852- above_below: number, int, optional (default=2)
849+ above_below : number, int, optional (default=2)
853850 The number of strike prices above and below the stock price that
854851 should be taken
855852
856- call: bool
853+ call : bool
857854 Tells the function whether or not it should be using calls
858855
859- put: bool
856+ put : bool
860857 Tells the function weather or not it should be using puts
861858
862- month: number, int, optional(default=None)
859+ month : number, int, optional(default=None)
863860 The month the options expire. This should be either 1 or 2
864861 digits.
865862
866- year: number, int, optional(default=None)
863+ year : number, int, optional(default=None)
867864 The year the options expire. This should be a 4 digit int.
868865
869- expiry: Option expiry, date-like or convertible or list-like object
870- that contains date-like or convertible objects, optional (default=None)
866+ expiry : date-like or convertible or list-like object, optional (default=None)
871867 The date (or dates) when options expire (defaults to current month)
872868
873869 Returns
@@ -912,11 +908,14 @@ def _try_parse_dates(self, year, month, expiry):
912908
913909 Parameters
914910 ----------
915- year: Calendar year, int
911+ year : int
912+ Calendar year
916913
917- month: Calendar month, int
914+ month : int
915+ Calendar month
918916
919- expiry: Expiry date, date-like or convertible, (preferred)
917+ expiry : date-like or convertible, (preferred)
918+ Expiry date
920919
921920 Returns
922921 -------
@@ -977,21 +976,21 @@ def get_forward_data(self, months, call=True, put=False, near=False,
977976
978977 Parameters
979978 ----------
980- months: number, int
979+ months : number, int
981980 How many months to go out in the collection of the data. This is
982981 inclusive.
983982
984- call: bool, optional (default=True)
983+ call : bool, optional (default=True)
985984 Whether or not to collect data for call options
986985
987- put: bool, optional (default=False)
986+ put : bool, optional (default=False)
988987 Whether or not to collect data for put options.
989988
990- near: bool, optional (default=False)
989+ near : bool, optional (default=False)
991990 Whether this function should get only the data near the
992991 current stock price. Uses Options.get_near_stock_price
993992
994- above_below: number, int, optional (default=2)
993+ above_below : number, int, optional (default=2)
995994 The number of strike prices above and below the stock price that
996995 should be taken if the near option is set to True
997996
@@ -1036,10 +1035,10 @@ def get_all_data(self, call=True, put=True):
10361035
10371036 Parameters
10381037 ----------
1039- call: bool, optional (default=True)
1038+ call : bool, optional (default=True)
10401039 Whether or not to collect data for call options
10411040
1042- put: bool, optional (default=True)
1041+ put : bool, optional (default=True)
10431042 Whether or not to collect data for put options.
10441043
10451044 Returns
0 commit comments