mirror of
https://github.com/polakowo/vectorbt.git
synced 2022-03-22 01:31:39 +03:00
Allow more pandas-ta indicators and bump version
[ci deploy-pypi] [ci deploy-pages]
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021 Oleg Polakow. All rights reserved.
|
||||
# This code is licensed under Apache 2.0 with Commons Clause license (see LICENSE.md for details)
|
||||
|
||||
__version__ = "0.22.0"
|
||||
__version__ = "0.23.0"
|
||||
|
||||
@@ -3495,8 +3495,10 @@ Other keyword arguments are passed to `{0}.run`.""".format(_0, _1)
|
||||
return TALibIndicator
|
||||
|
||||
@classmethod
|
||||
def parse_pandas_ta_config(cls, func: tp.Callable, test_input_names: tp.Optional[tp.Sequence[str]] = None,
|
||||
test_index_len: int = 50) -> tp.Kwargs:
|
||||
def parse_pandas_ta_config(cls,
|
||||
func: tp.Callable,
|
||||
test_input_names: tp.Optional[tp.Sequence[str]] = None,
|
||||
test_index_len: int = 100) -> tp.Kwargs:
|
||||
"""Get the config of a pandas-ta indicator."""
|
||||
if test_input_names is None:
|
||||
test_input_names = {'open_', 'open', 'high', 'low', 'close', 'adj_close', 'volume', 'dividends', 'split'}
|
||||
|
||||
Reference in New Issue
Block a user