Snehadeep commited on
Commit
32c6f5e
1 Parent(s): 2768541

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -19,6 +19,7 @@ def get_data():
19
  last_prices=round(nse_quote_ltp("BANKNIFTY"))
20
  exp=list(set(a['expiryDates']))
21
  exp.sort(key = lambda date: datetime.strptime(date, '%d-%b-%Y'))
 
22
  if last_prices%100>50:
23
  x=(last_prices-last_prices%100+100)
24
  strike=[x-200,x-100,x,x+100,x+200]
 
19
  last_prices=round(nse_quote_ltp("BANKNIFTY"))
20
  exp=list(set(a['expiryDates']))
21
  exp.sort(key = lambda date: datetime.strptime(date, '%d-%b-%Y'))
22
+ print(exp)
23
  if last_prices%100>50:
24
  x=(last_prices-last_prices%100+100)
25
  strike=[x-200,x-100,x,x+100,x+200]