kernc
kernc
Fixes https://github.com/scikit-optimize/scikit-optimize/issues/1060 Closes https://github.com/scikit-optimize/scikit-optimize/pull/1072 Closes https://github.com/scikit-optimize/scikit-optimize/issues/1068 Closes https://github.com/scikit-optimize/scikit-optimize/pull/1069 Fixes https://github.com/scikit-optimize/scikit-optimize/issues/1073 This took a while, but it's often better late than never. :sweat_smile: The PR looks huge, but it's namely about:...
Fixes https://github.com/scikit-optimize/scikit-optimize/issues/355 Fixes https://github.com/scikit-optimize/scikit-optimize/issues/700 Fixes https://github.com/scikit-optimize/scikit-optimize/issues/770 Fixes https://github.com/scikit-optimize/scikit-optimize/issues/108 Fixes https://github.com/scikit-optimize/scikit-optimize/issues/977 Probably fixes https://github.com/scikit-optimize/scikit-optimize/issues/730 Probably fixes https://github.com/scikit-optimize/scikit-optimize/issues/371 Probably fixes https://github.com/scikit-optimize/scikit-optimize/issues/457 Closes https://github.com/scikit-optimize/scikit-optimize/pull/836 A proposal for constrained optimization. An alternative to https://github.com/scikit-optimize/scikit-optimize/pull/836...
To minimize network traffic use, the wrapper should on its own and by default set the popular request header [`Accept-Encoding: gzip`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding) and then counsel response header [`Content-Encoding`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding) to optionally pipe...
With [Python 3.5.x having reached its end of life/support](https://www.python.org/downloads/release/python-3510/), we can begin to use ["advanced" features from Python 3.6](https://docs.python.org/3/whatsnew/3.6.html#summary-release-highlights): * [f-strings](https://www.python.org/dev/peps/pep-0498/) * [variable annotations](https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep526) over type comments https://github.com/pdoc3/pdoc/blob/651d1a8d7bf0c8964839dd1997227ab11f57df24/pdoc/__init__.py#L249-L250 Additionally: *...
Don't keep track of visited rules → observe increased performance by half. I wouldn't care to prove it at the moment, but please confirm experimentally that below change produces the...
Calculates ignored users at runtime by looking at passwd database and stripping all users with UID < 500. This should work on most unices except perhaps Solaris, which supposedly starts...
I was struck by the following paragraph in [tutorial for `Depends`](https://fastapi.tiangolo.com/tutorial/dependencies/classes-as-dependencies/#type-annotation-vs-depends): https://github.com/tiangolo/fastapi/blob/51e920e2fcf3e2a715081f28e3187549f2bf531a/docs/en/docs/tutorial/dependencies/classes-as-dependencies.md#L138-L150 I though that's easily solvable with [`typing.TypeVar`](https://docs.python.org/3/library/typing.html#typing.TypeVar), and this PR serves as a untested proof-of-concept, further corroborated only...
`commission=` is now applied twice as common with brokers. `spread=` takes the role `commission=` had previously. Fixes https://github.com/kernc/backtesting.py/issues/149 Fixes https://github.com/kernc/backtesting.py/issues/113 Closes https://github.com/kernc/backtesting.py/pull/662 Closes https://github.com/kernc/backtesting.py/issues/1006
### Discussed in https://github.com/kernc/backtesting.py/discussions/771 Originally posted by **traderblakeq** October 8, 2022 Hi, - I would like to calculate a indicator, based on previous "[-1]" value: (Line 15) - Does not...