Skip to content

Commit

Permalink
Update schwab.py
Browse files Browse the repository at this point in the history
  • Loading branch information
4rumprom authored Mar 4, 2024
1 parent d643bed commit 09cc6c7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions schwab_api/schwab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 09cc6c7

Please sign in to comment.