Skip to content

Commit

Permalink
Version 1.9.78.123
Browse files Browse the repository at this point in the history
  • Loading branch information
backtrader committed Apr 19, 2023
1 parent e90b99b commit b853d7c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backtrader/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
unicode_literals)


__version__ = '1.9.77.123'
__version__ = '1.9.78.123'

__btversion__ = tuple(int(x) for x in __version__.split('.'))
8 changes: 8 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
1.9.78.123:
- PR#479 Fix errors for simulated orders
1.9.77.123:
- PR#472
- Added posibitity for Black theme for charts
- Added posibitity to run on matplotlib 3.6+
- Added posibitity to run on Python 3.9+

1.9.76.123:
- PR#405 Fix initial Renko bricks
- Add option to select fixing of initial Renko bricks
Expand Down
4 changes: 3 additions & 1 deletion pypi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
#
# Generate pypi wheels universal package and upload
#
python setup.py bdist_wheel --universal upload -r pypi
rm dist/*
python setup.py bdist_wheel --universal
twine upload dist/*

1 comment on commit b853d7c

@Colomator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found an error in the ols.py indicator library - class OLS_BetaN uses pandas.ols which is I think depreciated (anyway doesn't work). You should update it to scipy's linregress or similar.
Also the Community gateway is down (error 502). I am a novice user and am trying to find information there on creating a slope from a self.line e.g. (closing prices over time (such as 10 days)). I can regress two existing indicators (e.g., closing prices vs opening prices) but cannot create an indicator that regresses over a linear array as it hangs and I have to keyboard interrupt, getting part of the following traceback:

File "C:\Users\Trader\AppData\Local\Programs\Python\Python311\Lib\site-packages\backtrader\strategy.py", line 394, in _start
self._periodset()
File "C:\Users\Trader\AppData\Local\Programs\Python\Python311\Lib\site-packages\backtrader\strategy.py", line 175, in _periodset
clk2 = getattr(clk._owner, '_clock', None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You have written a very interesting and useful set of code but if you could add these small corrections/enhancements, I would appreciate it.

Please sign in to comment.