Skip to content

Commit d89d6cf

Browse files
committed
5
1 parent 4362b42 commit d89d6cf

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

nsepython/rahu.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,8 @@ def get_beta_df_maker(symbol,days):
570570
df = df.iloc[1: , :] #thispointer.com/drop-first-row-of-pandas-dataframe-3-ways/
571571
return df
572572

573-
def get_beta(symbol,days,symbol2="NIFTY 50"):
573+
def get_beta(symbol,days=248,symbol2="NIFTY 50"):
574+
#Default is 248 days. (Input of Subhash)
574575
df = get_beta_df_maker(symbol,days)
575576
df2 = get_beta_df_maker(symbol2,days)
576577

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
setuptools.setup(
77
name = 'nsepython',
88
packages=setuptools.find_packages(),
9-
version = '0.0.959',
9+
version = '0.0.962',
1010
include_package_data=True,
1111
description = 'Python library for NSE India APIs',
1212
long_description=long_description,

0 commit comments

Comments
 (0)