Skip to content

Commit

Permalink
version 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
debpal committed Oct 6, 2024
1 parent 039981e commit fb8d76b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Version 0.1.3

* **Bug Fixes:** Issues with the API used to fetch Total Return Index data.

* **Development Status:** Upgraded from Alpha to Beta.


Version 0.1.2
--------------
Expand All @@ -28,9 +30,6 @@ Version 0.1.2
* **Feature Additions:** Added functionality for sorting the CAGR (%) of all NSE equity indices since launch.


* **Development Status:** Upgraded from Alpha to Beta.


Version 0.1.1
--------------

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies = [
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_bharatfintrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,14 @@ def test_download_historical_daily_data(
df = nse_tri.download_historical_daily_data(
index='NIFTY INDIA DEFENCE',
start_date=None,
end_date='06-Apr-2018'
end_date='10-Apr-2018'
)
assert float(df.iloc[0, -1]) == 1000.00

# pass test for end date being None
start_date = (datetime.date.today() - datetime.timedelta(days=7)).strftime('%d-%b-%Y')
df = nse_tri.download_historical_daily_data(
index='NIFTY CONSUMER DURABLES',
index='NIFTY 50',
start_date=start_date,
end_date=None
)
Expand Down

0 comments on commit fb8d76b

Please sign in to comment.