diff --git a/README.md b/README.md index 207eb821..2b0f7a47 100644 --- a/README.md +++ b/README.md @@ -529,7 +529,9 @@ After making changes, make sure you did not break any functionality: pytest ``` -Please make sure to update tests as appropriate. +Make sure to update tests as appropriate. + +Please note: contribution to this project requires signing a Contributor Licence Agreement (CLA). ## License diff --git a/apps/candlestick-patterns/app.py b/apps/candlestick-patterns/app.py index 2cf68c2b..95fea503 100644 --- a/apps/candlestick-patterns/app.py +++ b/apps/candlestick-patterns/app.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2021 Oleg Polakow +# 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) # Run this app with `python app.py` and diff --git a/vectorbt/__init__.py b/vectorbt/__init__.py index 40a98ce8..08780e54 100644 --- a/vectorbt/__init__.py +++ b/vectorbt/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Ultimate Python library for time series analysis and backtesting at scale. diff --git a/vectorbt/_settings.py b/vectorbt/_settings.py index 2902007f..2f4611f7 100644 --- a/vectorbt/_settings.py +++ b/vectorbt/_settings.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Global settings. diff --git a/vectorbt/_typing.py b/vectorbt/_typing.py index cbc935e8..7cfc19ec 100644 --- a/vectorbt/_typing.py +++ b/vectorbt/_typing.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """General types used in vectorbt.""" diff --git a/vectorbt/_version.py b/vectorbt/_version.py index 2d265224..5d5606a5 100644 --- a/vectorbt/_version.py +++ b/vectorbt/_version.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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.21.0" diff --git a/vectorbt/base/__init__.py b/vectorbt/base/__init__.py index 593c87a9..b0e50d6a 100644 --- a/vectorbt/base/__init__.py +++ b/vectorbt/base/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules with base classes and utilities for pandas objects, such as broadcasting.""" diff --git a/vectorbt/base/accessors.py b/vectorbt/base/accessors.py index b43d5e7d..3d7b9661 100644 --- a/vectorbt/base/accessors.py +++ b/vectorbt/base/accessors.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Custom pandas accessors. diff --git a/vectorbt/base/array_wrapper.py b/vectorbt/base/array_wrapper.py index 1b4d17ab..3c952ec0 100644 --- a/vectorbt/base/array_wrapper.py +++ b/vectorbt/base/array_wrapper.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Class for wrapping NumPy arrays into Series/DataFrames. diff --git a/vectorbt/base/column_grouper.py b/vectorbt/base/column_grouper.py index da0b579a..86ee7de9 100644 --- a/vectorbt/base/column_grouper.py +++ b/vectorbt/base/column_grouper.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Class that exposes methods to group columns. diff --git a/vectorbt/base/combine_fns.py b/vectorbt/base/combine_fns.py index 7389cd5d..0b773030 100644 --- a/vectorbt/base/combine_fns.py +++ b/vectorbt/base/combine_fns.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Functions for combining arrays. diff --git a/vectorbt/base/index_fns.py b/vectorbt/base/index_fns.py index 8ae1cf36..aa7f0a5e 100644 --- a/vectorbt/base/index_fns.py +++ b/vectorbt/base/index_fns.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Functions for working with index/columns. diff --git a/vectorbt/base/indexing.py b/vectorbt/base/indexing.py index 540347ae..14173d47 100644 --- a/vectorbt/base/indexing.py +++ b/vectorbt/base/indexing.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Classes for indexing. diff --git a/vectorbt/base/reshape_fns.py b/vectorbt/base/reshape_fns.py index 7e01ed54..083244fa 100644 --- a/vectorbt/base/reshape_fns.py +++ b/vectorbt/base/reshape_fns.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Functions for reshaping arrays. diff --git a/vectorbt/data/__init__.py b/vectorbt/data/__init__.py index 86ec7de3..bf85e518 100644 --- a/vectorbt/data/__init__.py +++ b/vectorbt/data/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for working with data sources.""" diff --git a/vectorbt/data/base.py b/vectorbt/data/base.py index 31dd23cb..58827667 100644 --- a/vectorbt/data/base.py +++ b/vectorbt/data/base.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base data class. diff --git a/vectorbt/data/custom.py b/vectorbt/data/custom.py index 78663ab8..c3207a7a 100644 --- a/vectorbt/data/custom.py +++ b/vectorbt/data/custom.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Custom data classes that subclass `vectorbt.data.base.Data`.""" diff --git a/vectorbt/data/updater.py b/vectorbt/data/updater.py index f2ff4126..b0f7f180 100644 --- a/vectorbt/data/updater.py +++ b/vectorbt/data/updater.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Class for scheduling data updates.""" diff --git a/vectorbt/generic/__init__.py b/vectorbt/generic/__init__.py index fabb41f1..57e1cd05 100644 --- a/vectorbt/generic/__init__.py +++ b/vectorbt/generic/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for working with any time series. diff --git a/vectorbt/generic/accessors.py b/vectorbt/generic/accessors.py index 0bcef048..734e5d6d 100644 --- a/vectorbt/generic/accessors.py +++ b/vectorbt/generic/accessors.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Custom pandas accessors for generic data. diff --git a/vectorbt/generic/decorators.py b/vectorbt/generic/decorators.py index 63e7ad17..23c3b68d 100644 --- a/vectorbt/generic/decorators.py +++ b/vectorbt/generic/decorators.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Class and function decorators.""" diff --git a/vectorbt/generic/drawdowns.py b/vectorbt/generic/drawdowns.py index dfba933e..4180707e 100644 --- a/vectorbt/generic/drawdowns.py +++ b/vectorbt/generic/drawdowns.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base class for working with drawdown records. diff --git a/vectorbt/generic/enums.py b/vectorbt/generic/enums.py index 735a20a4..d0359ae7 100644 --- a/vectorbt/generic/enums.py +++ b/vectorbt/generic/enums.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Named tuples and enumerated types. diff --git a/vectorbt/generic/nb.py b/vectorbt/generic/nb.py index 5834e690..6290170d 100644 --- a/vectorbt/generic/nb.py +++ b/vectorbt/generic/nb.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Numba-compiled functions. diff --git a/vectorbt/generic/plot_builder.py b/vectorbt/generic/plot_builder.py index 56a52c61..b4c6a17e 100644 --- a/vectorbt/generic/plot_builder.py +++ b/vectorbt/generic/plot_builder.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Mixin for building plots out of subplots.""" diff --git a/vectorbt/generic/plotting.py b/vectorbt/generic/plotting.py index 5333e8c5..ae0872ff 100644 --- a/vectorbt/generic/plotting.py +++ b/vectorbt/generic/plotting.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base plotting functions. diff --git a/vectorbt/generic/ranges.py b/vectorbt/generic/ranges.py index 5fe9db37..4907cd5b 100644 --- a/vectorbt/generic/ranges.py +++ b/vectorbt/generic/ranges.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base class for working with range records. diff --git a/vectorbt/generic/splitters.py b/vectorbt/generic/splitters.py index 7bacadfd..4ab6f399 100644 --- a/vectorbt/generic/splitters.py +++ b/vectorbt/generic/splitters.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Splitters for cross-validation. diff --git a/vectorbt/generic/stats_builder.py b/vectorbt/generic/stats_builder.py index 11bcd707..b2f10ef5 100644 --- a/vectorbt/generic/stats_builder.py +++ b/vectorbt/generic/stats_builder.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Mixin for building statistics out of performance metrics.""" diff --git a/vectorbt/indicators/__init__.py b/vectorbt/indicators/__init__.py index 2989e35c..7a1f6674 100644 --- a/vectorbt/indicators/__init__.py +++ b/vectorbt/indicators/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for building and running indicators. diff --git a/vectorbt/indicators/basic.py b/vectorbt/indicators/basic.py index ccf18df2..a917de0f 100644 --- a/vectorbt/indicators/basic.py +++ b/vectorbt/indicators/basic.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Indicators built with `vectorbt.indicators.factory.IndicatorFactory`. diff --git a/vectorbt/indicators/configs.py b/vectorbt/indicators/configs.py index 4d865de9..e18da407 100644 --- a/vectorbt/indicators/configs.py +++ b/vectorbt/indicators/configs.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Common configurations for indicators.""" diff --git a/vectorbt/indicators/factory.py b/vectorbt/indicators/factory.py index b9637013..0809299d 100644 --- a/vectorbt/indicators/factory.py +++ b/vectorbt/indicators/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """A factory for building new indicators with ease. diff --git a/vectorbt/indicators/nb.py b/vectorbt/indicators/nb.py index 1b51c4e2..4df3e19d 100644 --- a/vectorbt/indicators/nb.py +++ b/vectorbt/indicators/nb.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Numba-compiled functions. diff --git a/vectorbt/labels/__init__.py b/vectorbt/labels/__init__.py index c99985e5..af4f642b 100644 --- a/vectorbt/labels/__init__.py +++ b/vectorbt/labels/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for building and running look-ahead indicators and label generators.""" diff --git a/vectorbt/labels/enums.py b/vectorbt/labels/enums.py index 7c45b4c1..e5a653d2 100644 --- a/vectorbt/labels/enums.py +++ b/vectorbt/labels/enums.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Named tuples and enumerated types. diff --git a/vectorbt/labels/generators.py b/vectorbt/labels/generators.py index f0aec805..b6145847 100644 --- a/vectorbt/labels/generators.py +++ b/vectorbt/labels/generators.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Basic look-ahead indicators and label generators. diff --git a/vectorbt/labels/nb.py b/vectorbt/labels/nb.py index d1f44d10..56265ac3 100644 --- a/vectorbt/labels/nb.py +++ b/vectorbt/labels/nb.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Numba-compiled functions. diff --git a/vectorbt/messaging/__init__.py b/vectorbt/messaging/__init__.py index d07cbb18..096bceb7 100644 --- a/vectorbt/messaging/__init__.py +++ b/vectorbt/messaging/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for messaging.""" diff --git a/vectorbt/messaging/telegram.py b/vectorbt/messaging/telegram.py index 7ce66339..2b2e3557 100644 --- a/vectorbt/messaging/telegram.py +++ b/vectorbt/messaging/telegram.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Messaging using `python-telegram-bot`.""" diff --git a/vectorbt/ohlcv_accessors.py b/vectorbt/ohlcv_accessors.py index d2e05d0a..32b75d30 100644 --- a/vectorbt/ohlcv_accessors.py +++ b/vectorbt/ohlcv_accessors.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Custom pandas accessors for OHLC(V) data. diff --git a/vectorbt/portfolio/__init__.py b/vectorbt/portfolio/__init__.py index 15e9c51d..f4915856 100644 --- a/vectorbt/portfolio/__init__.py +++ b/vectorbt/portfolio/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for working with portfolios.""" diff --git a/vectorbt/portfolio/base.py b/vectorbt/portfolio/base.py index 098a500e..5b8b490f 100644 --- a/vectorbt/portfolio/base.py +++ b/vectorbt/portfolio/base.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base class for modeling portfolio and measuring its performance. diff --git a/vectorbt/portfolio/decorators.py b/vectorbt/portfolio/decorators.py index 4554d981..284b6c3c 100644 --- a/vectorbt/portfolio/decorators.py +++ b/vectorbt/portfolio/decorators.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Class and function decorators.""" diff --git a/vectorbt/portfolio/enums.py b/vectorbt/portfolio/enums.py index 1edbf36f..3de840fd 100644 --- a/vectorbt/portfolio/enums.py +++ b/vectorbt/portfolio/enums.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Named tuples and enumerated types. diff --git a/vectorbt/portfolio/logs.py b/vectorbt/portfolio/logs.py index 5bc5f18b..8c810e09 100644 --- a/vectorbt/portfolio/logs.py +++ b/vectorbt/portfolio/logs.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base class for working with log records. diff --git a/vectorbt/portfolio/nb.py b/vectorbt/portfolio/nb.py index 8e7d8fa7..0aea63d3 100644 --- a/vectorbt/portfolio/nb.py +++ b/vectorbt/portfolio/nb.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Numba-compiled functions. diff --git a/vectorbt/portfolio/orders.py b/vectorbt/portfolio/orders.py index ce13b45c..672d30d6 100644 --- a/vectorbt/portfolio/orders.py +++ b/vectorbt/portfolio/orders.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base class for working with order records. diff --git a/vectorbt/portfolio/trades.py b/vectorbt/portfolio/trades.py index e0a77d22..bb15ca64 100644 --- a/vectorbt/portfolio/trades.py +++ b/vectorbt/portfolio/trades.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base class for working with trade records. diff --git a/vectorbt/px_accessors.py b/vectorbt/px_accessors.py index b7670d01..6b3bae10 100644 --- a/vectorbt/px_accessors.py +++ b/vectorbt/px_accessors.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Plotly Express pandas accessors. diff --git a/vectorbt/records/__init__.py b/vectorbt/records/__init__.py index fa573a52..3d44b9a1 100644 --- a/vectorbt/records/__init__.py +++ b/vectorbt/records/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for working with records. diff --git a/vectorbt/records/base.py b/vectorbt/records/base.py index 01363f24..bd1b5497 100644 --- a/vectorbt/records/base.py +++ b/vectorbt/records/base.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base class for working with records. diff --git a/vectorbt/records/col_mapper.py b/vectorbt/records/col_mapper.py index de3b3234..52977e9f 100644 --- a/vectorbt/records/col_mapper.py +++ b/vectorbt/records/col_mapper.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Class for mapping column arrays.""" diff --git a/vectorbt/records/decorators.py b/vectorbt/records/decorators.py index 5edccbed..d27cbcb3 100644 --- a/vectorbt/records/decorators.py +++ b/vectorbt/records/decorators.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Class and function decorators.""" diff --git a/vectorbt/records/mapped_array.py b/vectorbt/records/mapped_array.py index ea0ee27a..032c3c78 100644 --- a/vectorbt/records/mapped_array.py +++ b/vectorbt/records/mapped_array.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Base class for working with mapped arrays. diff --git a/vectorbt/records/nb.py b/vectorbt/records/nb.py index 20ec1db8..c5ae0e57 100644 --- a/vectorbt/records/nb.py +++ b/vectorbt/records/nb.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Numba-compiled functions. diff --git a/vectorbt/returns/__init__.py b/vectorbt/returns/__init__.py index 162ef9b0..b4bea8e3 100644 --- a/vectorbt/returns/__init__.py +++ b/vectorbt/returns/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for working with returns. diff --git a/vectorbt/returns/accessors.py b/vectorbt/returns/accessors.py index 1a72e648..1263f0f8 100644 --- a/vectorbt/returns/accessors.py +++ b/vectorbt/returns/accessors.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Custom pandas accessors for returns data. diff --git a/vectorbt/returns/metrics.py b/vectorbt/returns/metrics.py index 1008e2bd..2ddd0d7b 100644 --- a/vectorbt/returns/metrics.py +++ b/vectorbt/returns/metrics.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Other metrics that are not compiled with Numba.""" diff --git a/vectorbt/returns/nb.py b/vectorbt/returns/nb.py index 736c199e..ca1398de 100644 --- a/vectorbt/returns/nb.py +++ b/vectorbt/returns/nb.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Numba-compiled functions. diff --git a/vectorbt/root_accessors.py b/vectorbt/root_accessors.py index b84054ae..d40d379b 100644 --- a/vectorbt/root_accessors.py +++ b/vectorbt/root_accessors.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Root pandas accessors. diff --git a/vectorbt/signals/__init__.py b/vectorbt/signals/__init__.py index 9c752a34..a12fdfae 100644 --- a/vectorbt/signals/__init__.py +++ b/vectorbt/signals/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules for working with signals, such as entry and exit signals.""" diff --git a/vectorbt/signals/accessors.py b/vectorbt/signals/accessors.py index d18508f9..401ba255 100644 --- a/vectorbt/signals/accessors.py +++ b/vectorbt/signals/accessors.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Custom pandas accessors for signals data. diff --git a/vectorbt/signals/enums.py b/vectorbt/signals/enums.py index 269f41a2..be9b46ef 100644 --- a/vectorbt/signals/enums.py +++ b/vectorbt/signals/enums.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Named tuples and enumerated types. diff --git a/vectorbt/signals/factory.py b/vectorbt/signals/factory.py index 1eafcdc1..f64f2e15 100644 --- a/vectorbt/signals/factory.py +++ b/vectorbt/signals/factory.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """A factory for building new signal generators with ease. diff --git a/vectorbt/signals/generators.py b/vectorbt/signals/generators.py index 8efa7c5a..39c34f5e 100644 --- a/vectorbt/signals/generators.py +++ b/vectorbt/signals/generators.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Signal generators built with `vectorbt.signals.factory.SignalFactory`.""" diff --git a/vectorbt/signals/nb.py b/vectorbt/signals/nb.py index 675a1605..4349ec2b 100644 --- a/vectorbt/signals/nb.py +++ b/vectorbt/signals/nb.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Numba-compiled functions. diff --git a/vectorbt/utils/__init__.py b/vectorbt/utils/__init__.py index 587512aa..56333bc5 100644 --- a/vectorbt/utils/__init__.py +++ b/vectorbt/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Modules with utilities that are used throughout vectorbt.""" diff --git a/vectorbt/utils/array.py b/vectorbt/utils/array.py index f19a3b8d..8fae85f5 100644 --- a/vectorbt/utils/array.py +++ b/vectorbt/utils/array.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for working with arrays.""" diff --git a/vectorbt/utils/attr.py b/vectorbt/utils/attr.py index 76021591..85541528 100644 --- a/vectorbt/utils/attr.py +++ b/vectorbt/utils/attr.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for working with class/instance attributes.""" diff --git a/vectorbt/utils/checks.py b/vectorbt/utils/checks.py index 7c4486e5..d8cf3621 100644 --- a/vectorbt/utils/checks.py +++ b/vectorbt/utils/checks.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for validation during runtime.""" diff --git a/vectorbt/utils/colors.py b/vectorbt/utils/colors.py index 24f9863f..33c36012 100644 --- a/vectorbt/utils/colors.py +++ b/vectorbt/utils/colors.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for working with colors.""" diff --git a/vectorbt/utils/config.py b/vectorbt/utils/config.py index 952e009f..30ad70f6 100644 --- a/vectorbt/utils/config.py +++ b/vectorbt/utils/config.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for configuration.""" diff --git a/vectorbt/utils/datetime.py b/vectorbt/utils/datetime.py index f4e7eaec..07c8861c 100644 --- a/vectorbt/utils/datetime.py +++ b/vectorbt/utils/datetime.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for working with dates and time.""" diff --git a/vectorbt/utils/decorators.py b/vectorbt/utils/decorators.py index 38d372d4..1d84925b 100644 --- a/vectorbt/utils/decorators.py +++ b/vectorbt/utils/decorators.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Class and function decorators.""" diff --git a/vectorbt/utils/docs.py b/vectorbt/utils/docs.py index cb3be5e1..d14943be 100644 --- a/vectorbt/utils/docs.py +++ b/vectorbt/utils/docs.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for documentation.""" diff --git a/vectorbt/utils/enum.py b/vectorbt/utils/enum.py index 18b15fbf..3a3b17c7 100644 --- a/vectorbt/utils/enum.py +++ b/vectorbt/utils/enum.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Enum utilities. diff --git a/vectorbt/utils/figure.py b/vectorbt/utils/figure.py index b0ffc052..169567b7 100644 --- a/vectorbt/utils/figure.py +++ b/vectorbt/utils/figure.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for constructing and displaying figures.""" diff --git a/vectorbt/utils/image.py b/vectorbt/utils/image.py index 54562c2f..d07c28e0 100644 --- a/vectorbt/utils/image.py +++ b/vectorbt/utils/image.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for images.""" diff --git a/vectorbt/utils/mapping.py b/vectorbt/utils/mapping.py index c02274ac..4f14fa0b 100644 --- a/vectorbt/utils/mapping.py +++ b/vectorbt/utils/mapping.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Mapping utilities.""" diff --git a/vectorbt/utils/math.py b/vectorbt/utils/math.py index 8f565a81..395a8801 100644 --- a/vectorbt/utils/math.py +++ b/vectorbt/utils/math.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Math utilities.""" diff --git a/vectorbt/utils/module.py b/vectorbt/utils/module.py index 1ede9186..7dc27fa5 100644 --- a/vectorbt/utils/module.py +++ b/vectorbt/utils/module.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for modules.""" diff --git a/vectorbt/utils/params.py b/vectorbt/utils/params.py index 88691d74..9675f383 100644 --- a/vectorbt/utils/params.py +++ b/vectorbt/utils/params.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for working with parameters.""" diff --git a/vectorbt/utils/random.py b/vectorbt/utils/random.py index aeee4541..252aefc2 100644 --- a/vectorbt/utils/random.py +++ b/vectorbt/utils/random.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for random number generation.""" diff --git a/vectorbt/utils/requests.py b/vectorbt/utils/requests.py index d2aa6eb5..f78a4012 100644 --- a/vectorbt/utils/requests.py +++ b/vectorbt/utils/requests.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for requests.""" diff --git a/vectorbt/utils/schedule.py b/vectorbt/utils/schedule.py index b2d5a5f3..bbc840d4 100644 --- a/vectorbt/utils/schedule.py +++ b/vectorbt/utils/schedule.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for scheduling jobs.""" diff --git a/vectorbt/utils/tags.py b/vectorbt/utils/tags.py index e902e1ec..8accb648 100644 --- a/vectorbt/utils/tags.py +++ b/vectorbt/utils/tags.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for working with tags.""" diff --git a/vectorbt/utils/template.py b/vectorbt/utils/template.py index b3f85098..ee9f1792 100644 --- a/vectorbt/utils/template.py +++ b/vectorbt/utils/template.py @@ -1,4 +1,4 @@ -# Copyright 2021 Oleg Polakow +# 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) """Utilities for working with templates."""