From 09cc6c70a7558010b5d006794e05b01d0b33cb40 Mon Sep 17 00:00:00 2001 From: 4rumprom <84041172+4rumprom@users.noreply.github.com> Date: Mon, 4 Mar 2024 14:40:08 -0500 Subject: [PATCH] Update schwab.py --- schwab_api/schwab.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/schwab_api/schwab.py b/schwab_api/schwab.py index 066f972..145d4d0 100644 --- a/schwab_api/schwab.py +++ b/schwab_api/schwab.py @@ -774,12 +774,6 @@ def get_options_chains_v2(self, ticker, greeks = False): ticker (str) - ticker of the underlying security greeks (bool) - if greeks is true, you will also get the option greeks (Delta, Theta, Gamma etc... ) """ - expiration_date = [] - #for date in ExpirationDates: - # using python format to remove leading 0 for month and day. - # datetime.strftime leaves leading 0 and removing them is different for Unix and Windows. - # formatted_date = '{dt.month}/{dt.day}/{dt.year}'.format(dt = date) - # expiration_date.append(formatted_date) data = { "Symbol":ticker, "IncludeGreeks": "true" if greeks else "false"