Skip to content

Commit

Permalink
release 0.6.2, debugged on dynamic portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhky committed Mar 6, 2021
1 parent 01e1d64 commit 5bc13d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion finsim/portfolio/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def find_cursor_for_date(self, date):
start = idx
elif self.timeseries[idx]['date'] >= date:
end = idx
idx = (end-start) // 2
idx = (start+end) // 2
return idx

def move_cursor_to_date(self, newdate):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def package_description():

setup(
name='finsim',
version="0.6.1",
version="0.6.2",
description="Financial simulation and inference",
long_description=package_description(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 5bc13d3

Please sign in to comment.