From 564578e998f29176b274b6646e251716aa1dc9e5 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Fri, 30 Dec 2022 15:35:04 +0100 Subject: [PATCH 1/7] [Community] handle get_subscribed_profile_urls --- octobot/cli.py | 34 +++------------------------ octobot/commands.py | 23 +++++++++++++++++- octobot/community/__init__.py | 2 ++ octobot/community/authentication.py | 13 +++++++++- octobot/community/graphql_requests.py | 12 ++++++++++ 5 files changed, 51 insertions(+), 33 deletions(-) diff --git a/octobot/cli.py b/octobot/cli.py index f5406a6b1..3904686c7 100644 --- a/octobot/cli.py +++ b/octobot/cli.py @@ -73,15 +73,6 @@ def update_config_with_args(starting_args, config: configuration.Configuration, config.config[common_constants.CONFIG_TRADING][common_constants.CONFIG_TRADER_RISK] = starting_args.risk -# def _check_public_announcements(logger): -# try: -# announcement = get_external_resource(EXTERNAL_RESOURCE_PUBLIC_ANNOUNCEMENTS) -# if announcement: -# logger.info(announcement) -# except Exception as e: -# logger.warning("Impossible to check announcements: {0}".format(e)) - - def _log_terms_if_unaccepted(config: configuration.Configuration, logger): if not config.accepted_terms(): logger.info("*** Disclaimer ***") @@ -127,7 +118,7 @@ def _create_startup_config(logger): else: _read_config(config, logger) try: - _ensure_profile(config) + commands.ensure_profile(config) _validate_config(config, logger) except (errors.NoProfileError, errors.ConfigError): # real issue if tentacles exist otherwise continue @@ -136,16 +127,6 @@ def _create_startup_config(logger): return config, is_first_startup -def _download_and_select_profile(logger, config, to_download_profile_urls, to_select_profile): - if to_download_profile_urls: - commands.download_missing_env_profiles( - config, - to_download_profile_urls - ) - if commands.select_forced_profile_if_any(config, to_select_profile, logger): - _ensure_profile(config) - - async def _apply_community_startup_info_to_config(logger, config, community_auth): try: if not community_auth.is_initialized() and constants.USER_ACCOUNT_EMAIL and constants.USER_PASSWORD_TOKEN: @@ -158,7 +139,7 @@ async def _apply_community_startup_info_to_config(logger, config, community_auth return startup_info = await community_auth.get_startup_info() logger.debug(f"Fetched startup info: {startup_info}") - _download_and_select_profile( + commands.download_and_select_profile( logger, config, startup_info.get_subscribed_products_urls(), startup_info.get_forced_profile_url() @@ -172,7 +153,7 @@ async def _apply_community_startup_info_to_config(logger, config, community_auth def _apply_env_variables_to_config(logger, config): - _download_and_select_profile( + commands.download_and_select_profile( logger, config, [url.strip() for url in constants.TO_DOWNLOAD_PROFILES.split(",")] if constants.TO_DOWNLOAD_PROFILES else [], constants.FORCED_PROFILE @@ -204,15 +185,6 @@ def _read_config(config, logger): raise errors.ConfigError(e) -def _ensure_profile(config): - if config.profile is None: - # no selected profile or profile not found - try: - config.select_profile(common_constants.DEFAULT_PROFILE) - except KeyError: - raise errors.NoProfileError - - def _validate_config(config, logger): try: config.validate() diff --git a/octobot/commands.py b/octobot/commands.py index 4cbf6f593..cedec05b6 100644 --- a/octobot/commands.py +++ b/octobot/commands.py @@ -24,6 +24,8 @@ import octobot_commons.configuration as configuration import octobot_commons.profiles as profiles import octobot_commons.logging as logging +import octobot_commons.constants as commons_constants +import octobot_commons.errors as commons_errors import octobot_tentacles_manager.api as tentacles_manager_api import octobot_tentacles_manager.cli as tentacles_manager_cli @@ -153,7 +155,26 @@ async def install_all_tentacles(tentacles_url=None): bot_install_dir=os.getcwd()) -def download_missing_env_profiles(config, profile_urls): +def ensure_profile(config): + if config.profile is None: + # no selected profile or profile not found + try: + config.select_profile(commons_constants.DEFAULT_PROFILE) + except KeyError: + raise commons_errors.NoProfileError + + +def download_and_select_profile(logger, config, to_download_profile_urls, to_select_profile): + if to_download_profile_urls: + download_missing_profiles( + config, + to_download_profile_urls + ) + if select_forced_profile_if_any(config, to_select_profile, logger): + ensure_profile(config) + + +def download_missing_profiles(config, profile_urls): downloaded_profiles = [] # dl profiles from env if profile_urls: diff --git a/octobot/community/__init__.py b/octobot/community/__init__.py index 418d1202d..652b99ba3 100644 --- a/octobot/community/__init__.py +++ b/octobot/community/__init__.py @@ -73,6 +73,7 @@ create_bot_query, create_bot_device_query, update_bot_config_and_stats_query, + select_subscribed_profiles_query, ) from octobot.community.feeds import ( AbstractFeed, @@ -110,6 +111,7 @@ "create_bot_query", "create_bot_device_query", "update_bot_config_and_stats_query", + "select_subscribed_profiles_query", "AbstractFeed", "CommunityWSFeed", "CommunityMQTTFeed", diff --git a/octobot/community/authentication.py b/octobot/community/authentication.py index a7af6b4b4..6a2bdccba 100644 --- a/octobot/community/authentication.py +++ b/octobot/community/authentication.py @@ -243,7 +243,7 @@ async def _authenticated_qgl_session(self): session.headers.pop(self.GQL_AUTHORIZATION_HEADER) async def wait_for_login_if_processing(self): - if self.user_account.has_user_data() is None and self._login_completed is not None: + if self._login_completed is not None: # ensure login details have been fetched await asyncio.wait_for(self._login_completed.wait(), self.LOGIN_TIMEOUT) @@ -350,6 +350,13 @@ async def get_startup_info(self): ) ) + async def get_subscribed_profile_urls(self): + subscribed_profiles = await self._fetch_subscribed_profiles() + return [ + profile_data["url"] + for profile_data in subscribed_profiles["data"] + ] + def _get_self_hosted_bots(self, bots): return [ bot @@ -364,6 +371,10 @@ async def _fetch_startup_info(self, bot_id): query, variables = graphql_requests.select_startup_info_query(bot_id) return await self.async_graphql_query(query, "getBotStartupInfo", variables=variables, expected_code=200) + async def _fetch_subscribed_profiles(self): + query, variables = graphql_requests.select_subscribed_profiles_query() + return await self.async_graphql_query(query, "getSubscribedProfiles", variables=variables, expected_code=200) + async def _fetch_bots(self): query, variables = graphql_requests.select_bots_query() return await self.async_graphql_query(query, "bots", variables=variables, expected_code=200) diff --git a/octobot/community/graphql_requests.py b/octobot/community/graphql_requests.py index 70229fd0c..974db570f 100644 --- a/octobot/community/graphql_requests.py +++ b/octobot/community/graphql_requests.py @@ -62,6 +62,18 @@ def select_startup_info_query(bot_id) -> (str, dict): """, {"bot_id": bot_id} +def select_subscribed_profiles_query() -> (str, dict): + return """ +query getSubscribedProfiles { + getSubscribedProfiles { + data { + url + } + } +} + """, {} + + def select_bots_query() -> (str, dict): return """ query SelectBots { From 5e44f9c439c362f0368187bebb336b533ccea719 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Sat, 31 Dec 2022 17:45:11 +0100 Subject: [PATCH 2/7] [Community] add clarity id --- octobot/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octobot/constants.py b/octobot/constants.py index c2131c99b..b470e0056 100644 --- a/octobot/constants.py +++ b/octobot/constants.py @@ -98,7 +98,7 @@ IS_DEMO = os_util.parse_boolean_environment_var("IS_DEMO", "False") IS_CLOUD_ENV = os_util.parse_boolean_environment_var("IS_CLOUD_ENV", "false") CAN_INSTALL_TENTACLES = os_util.parse_boolean_environment_var("CAN_INSTALL_TENTACLES", str(not IS_CLOUD_ENV)) -TRACKING_ID = os.getenv("TRACKING_ID", "eoe1stwyun" if IS_DEMO else "eoe06soct7") +TRACKING_ID = os.getenv("TRACKING_ID", "eoe1stwyun" if IS_DEMO else "eoe06soct7" if IS_CLOUD_ENV else "f726lk9q59") # Profiles download urls to import at startup if missing, split by "," TO_DOWNLOAD_PROFILES = os.getenv("TO_DOWNLOAD_PROFILES", None) # Profiles to force select at startup, identified by profile id, download url or name From fa8f055e5fe4eb1e4956a9af7cc7fd220492b7fc Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 2 Jan 2023 00:19:20 +0100 Subject: [PATCH 3/7] [Requirements] bump --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 156fa746d..5c53b7832 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ cython==0.29.32 # Drakkar-Software requirements OctoBot-Commons==1.8.2 -OctoBot-Trading==2.3.2 +OctoBot-Trading==2.3.3 OctoBot-Evaluators==1.8.0 OctoBot-Tentacles-Manager==2.8.1 OctoBot-Services==1.4.1 From 29b8d8e17bd56e82996db61f2e4acc48c8876542 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 2 Jan 2023 00:21:15 +0100 Subject: [PATCH 4/7] [Copyright] update year --- exchanges_tests/__init__.py | 2 +- exchanges_tests/abstract_authenticated_exchange_tester.py | 2 +- .../abstract_authenticated_future_exchange_tester.py | 2 +- exchanges_tests/test_ascendex.py | 2 +- exchanges_tests/test_binance.py | 2 +- exchanges_tests/test_bitget.py | 2 +- exchanges_tests/test_bybit.py | 2 +- exchanges_tests/test_coinbasepro.py | 2 +- exchanges_tests/test_hollaex.py | 2 +- exchanges_tests/test_huobi.py | 2 +- exchanges_tests/test_kucoin.py | 2 +- exchanges_tests/test_okx.py | 2 +- exchanges_tests/test_phemex.py | 2 +- octobot/__init__.py | 2 +- octobot/api/__init__.py | 2 +- octobot/api/backtesting.py | 2 +- octobot/api/strategy_optimizer.py | 2 +- octobot/api/updater.py | 2 +- octobot/backtesting/__init__.py | 2 +- octobot/backtesting/abstract_backtesting_test.py | 2 +- octobot/backtesting/independent_backtesting.py | 2 +- octobot/backtesting/octobot_backtesting.py | 2 +- octobot/channels/__init__.py | 2 +- octobot/channels/octobot_channel.py | 2 +- octobot/cli.py | 2 +- octobot/commands.py | 2 +- octobot/community/__init__.py | 2 +- octobot/community/authentication.py | 2 +- octobot/community/community_analysis.py | 2 +- octobot/community/community_donation.py | 2 +- octobot/community/community_fields.py | 2 +- octobot/community/community_manager.py | 2 +- octobot/community/community_supports.py | 2 +- octobot/community/community_tentacles_package.py | 2 +- octobot/community/community_user_account.py | 2 +- octobot/community/errors.py | 2 +- octobot/community/errors_upload/__init__.py | 2 +- octobot/community/errors_upload/error_model.py | 2 +- octobot/community/errors_upload/errors_uploader.py | 2 +- octobot/community/errors_upload/initializer.py | 2 +- octobot/community/feeds/__init__.py | 2 +- octobot/community/feeds/abstract_feed.py | 2 +- octobot/community/feeds/community_mqtt_feed.py | 2 +- octobot/community/feeds/community_ws_feed.py | 2 +- octobot/community/feeds/feed_factory.py | 2 +- octobot/community/graphql_requests.py | 2 +- octobot/community/identifiers_provider.py | 2 +- octobot/community/startup_info.py | 2 +- octobot/configuration_manager.py | 2 +- octobot/constants.py | 2 +- octobot/disclaimer.py | 2 +- octobot/enums.py | 2 +- octobot/initializer.py | 2 +- octobot/limits.py | 2 +- octobot/logger.py | 2 +- octobot/octobot.py | 2 +- octobot/octobot_api.py | 2 +- octobot/octobot_backtesting_factory.py | 2 +- octobot/octobot_channel_consumer.py | 2 +- octobot/producers/__init__.py | 2 +- octobot/producers/evaluator_producer.py | 2 +- octobot/producers/exchange_producer.py | 2 +- octobot/producers/interface_producer.py | 2 +- octobot/producers/service_feed_producer.py | 2 +- octobot/storage/__init__.py | 2 +- octobot/storage/db_databases_pruning.py | 2 +- octobot/storage/trading_metadata.py | 2 +- octobot/strategy_optimizer/__init__.py | 2 +- octobot/strategy_optimizer/strategy_optimizer.py | 2 +- octobot/strategy_optimizer/strategy_test_suite.py | 2 +- octobot/strategy_optimizer/test_suite_result.py | 2 +- octobot/task_manager.py | 2 +- octobot/updater/__init__.py | 2 +- octobot/updater/binary_updater.py | 2 +- octobot/updater/python_updater.py | 2 +- octobot/updater/updater.py | 2 +- octobot/updater/updater_factory.py | 2 +- setup.py | 2 +- start.py | 2 +- tests/__init__.py | 2 +- tests/functional_tests/__init__.py | 2 +- tests/functional_tests/backtesting_tests/__init__.py | 2 +- tests/functional_tests/backtesting_tests/backtesting_test.py | 2 +- tests/functional_tests/evaluators_tests/__init__.py | 2 +- tests/functional_tests/evaluators_tests/abstract_TA_test.py | 2 +- tests/functional_tests/launch_test/__init__.py | 2 +- tests/functional_tests/launch_test/launch_test.py | 2 +- tests/functional_tests/strategy_evaluators_tests/__init__.py | 2 +- .../strategy_evaluators_tests/abstract_strategy_test.py | 2 +- tests/test_utils/__init__.py | 2 +- tests/test_utils/bot_management.py | 2 +- tests/test_utils/config.py | 2 +- tests/test_utils/data_bank.py | 2 +- tests/test_utils/logging.py | 2 +- tests/test_utils/memory_check_util.py | 2 +- tests/test_utils/order_util.py | 2 +- tests/test_utils/test_exchanges.py | 2 +- tests/unit_tests/community/__init__.py | 2 +- tests/unit_tests/community/errors_upload/__init__.py | 2 +- tests/unit_tests/community/errors_upload/test_error_model.py | 2 +- .../unit_tests/community/errors_upload/test_errors_uploader.py | 2 +- tests/unit_tests/community/errors_upload/test_initializer.py | 2 +- tests/unit_tests/community/test_authentication.py | 2 +- tests/unit_tests/community/test_community_data.py | 2 +- tests/unit_tests/community/test_community_mqtt_feed.py | 2 +- tests/unit_tests/community/test_community_ws_feed.py | 2 +- tests/unit_tests/strategy_optimizer/__init__.py | 2 +- .../strategy_optimizer/test_strategy_design_optimizer.py | 2 +- tests/unit_tests/strategy_optimizer/test_strategy_optimizer.py | 2 +- tests/unit_tests/strategy_optimizer/test_strategy_test_suite.py | 2 +- tests/unit_tests/test_configuration_manager.py | 2 +- tests/unit_tests/trading_modes_tests/__init__.py | 2 +- .../unit_tests/trading_modes_tests/trading_mode_test_toolkit.py | 2 +- tests/unit_tests/updater/__init__.py | 2 +- tests/unit_tests/updater/test_updater.py | 2 +- 115 files changed, 115 insertions(+), 115 deletions(-) diff --git a/exchanges_tests/__init__.py b/exchanges_tests/__init__.py index 9dc512ca9..4e4290992 100644 --- a/exchanges_tests/__init__.py +++ b/exchanges_tests/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/abstract_authenticated_exchange_tester.py b/exchanges_tests/abstract_authenticated_exchange_tester.py index 884eac44d..8c8c05d27 100644 --- a/exchanges_tests/abstract_authenticated_exchange_tester.py +++ b/exchanges_tests/abstract_authenticated_exchange_tester.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/abstract_authenticated_future_exchange_tester.py b/exchanges_tests/abstract_authenticated_future_exchange_tester.py index a717878b6..5e0b55eda 100644 --- a/exchanges_tests/abstract_authenticated_future_exchange_tester.py +++ b/exchanges_tests/abstract_authenticated_future_exchange_tester.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_ascendex.py b/exchanges_tests/test_ascendex.py index 714afc913..6e19c6cdd 100644 --- a/exchanges_tests/test_ascendex.py +++ b/exchanges_tests/test_ascendex.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_binance.py b/exchanges_tests/test_binance.py index e1a1eb063..ac1b18462 100644 --- a/exchanges_tests/test_binance.py +++ b/exchanges_tests/test_binance.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_bitget.py b/exchanges_tests/test_bitget.py index 87201720b..cfc152c6e 100644 --- a/exchanges_tests/test_bitget.py +++ b/exchanges_tests/test_bitget.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_bybit.py b/exchanges_tests/test_bybit.py index bda87ec37..30c217873 100644 --- a/exchanges_tests/test_bybit.py +++ b/exchanges_tests/test_bybit.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_coinbasepro.py b/exchanges_tests/test_coinbasepro.py index a2264b130..8f30f2e9e 100644 --- a/exchanges_tests/test_coinbasepro.py +++ b/exchanges_tests/test_coinbasepro.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_hollaex.py b/exchanges_tests/test_hollaex.py index 882f295c7..f6484195a 100644 --- a/exchanges_tests/test_hollaex.py +++ b/exchanges_tests/test_hollaex.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_huobi.py b/exchanges_tests/test_huobi.py index 2b30a99e2..61eef682c 100644 --- a/exchanges_tests/test_huobi.py +++ b/exchanges_tests/test_huobi.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_kucoin.py b/exchanges_tests/test_kucoin.py index 60a7d7687..3a5cc4b5f 100644 --- a/exchanges_tests/test_kucoin.py +++ b/exchanges_tests/test_kucoin.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_okx.py b/exchanges_tests/test_okx.py index 1989fc6e4..f7bb4a70a 100644 --- a/exchanges_tests/test_okx.py +++ b/exchanges_tests/test_okx.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/exchanges_tests/test_phemex.py b/exchanges_tests/test_phemex.py index 3661ae81d..ba06bd91d 100644 --- a/exchanges_tests/test_phemex.py +++ b/exchanges_tests/test_phemex.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/__init__.py b/octobot/__init__.py index 38d9370a2..44d18404a 100644 --- a/octobot/__init__.py +++ b/octobot/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/api/__init__.py b/octobot/api/__init__.py index 21773d4c1..63b79e180 100644 --- a/octobot/api/__init__.py +++ b/octobot/api/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/api/backtesting.py b/octobot/api/backtesting.py index cc538355b..25b4bb9ea 100644 --- a/octobot/api/backtesting.py +++ b/octobot/api/backtesting.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/api/strategy_optimizer.py b/octobot/api/strategy_optimizer.py index 008357401..54b30fbce 100644 --- a/octobot/api/strategy_optimizer.py +++ b/octobot/api/strategy_optimizer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/api/updater.py b/octobot/api/updater.py index 19d075e29..377015bd1 100644 --- a/octobot/api/updater.py +++ b/octobot/api/updater.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/backtesting/__init__.py b/octobot/backtesting/__init__.py index c924e27a3..cd2f82e6a 100644 --- a/octobot/backtesting/__init__.py +++ b/octobot/backtesting/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/backtesting/abstract_backtesting_test.py b/octobot/backtesting/abstract_backtesting_test.py index 5df5f15f2..a652dfbb2 100644 --- a/octobot/backtesting/abstract_backtesting_test.py +++ b/octobot/backtesting/abstract_backtesting_test.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/backtesting/independent_backtesting.py b/octobot/backtesting/independent_backtesting.py index 45a59f97e..579869ce3 100644 --- a/octobot/backtesting/independent_backtesting.py +++ b/octobot/backtesting/independent_backtesting.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/backtesting/octobot_backtesting.py b/octobot/backtesting/octobot_backtesting.py index 723216c88..451c902e2 100644 --- a/octobot/backtesting/octobot_backtesting.py +++ b/octobot/backtesting/octobot_backtesting.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/channels/__init__.py b/octobot/channels/__init__.py index 8b0ffcfe4..95b5f01b9 100644 --- a/octobot/channels/__init__.py +++ b/octobot/channels/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/channels/octobot_channel.py b/octobot/channels/octobot_channel.py index 3e80e9c6f..6f845d6dd 100644 --- a/octobot/channels/octobot_channel.py +++ b/octobot/channels/octobot_channel.py @@ -1,6 +1,6 @@ # pylint: disable=E0203 # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/cli.py b/octobot/cli.py index 3904686c7..4b79dcf10 100644 --- a/octobot/cli.py +++ b/octobot/cli.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/commands.py b/octobot/commands.py index cedec05b6..10f306cec 100644 --- a/octobot/commands.py +++ b/octobot/commands.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/__init__.py b/octobot/community/__init__.py index 652b99ba3..16653443a 100644 --- a/octobot/community/__init__.py +++ b/octobot/community/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/authentication.py b/octobot/community/authentication.py index 6a2bdccba..ff6564304 100644 --- a/octobot/community/authentication.py +++ b/octobot/community/authentication.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/community_analysis.py b/octobot/community/community_analysis.py index 971ca81f9..199ff2c93 100644 --- a/octobot/community/community_analysis.py +++ b/octobot/community/community_analysis.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/community_donation.py b/octobot/community/community_donation.py index 24c7650f3..23aec62c6 100644 --- a/octobot/community/community_donation.py +++ b/octobot/community/community_donation.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/community_fields.py b/octobot/community/community_fields.py index df0e6478a..bd540d528 100644 --- a/octobot/community/community_fields.py +++ b/octobot/community/community_fields.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/community_manager.py b/octobot/community/community_manager.py index 6add643d4..8636d4911 100644 --- a/octobot/community/community_manager.py +++ b/octobot/community/community_manager.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/community_supports.py b/octobot/community/community_supports.py index 4fb9b130a..cb17d0aa1 100644 --- a/octobot/community/community_supports.py +++ b/octobot/community/community_supports.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/community_tentacles_package.py b/octobot/community/community_tentacles_package.py index 2f6403e3e..086d3b51b 100644 --- a/octobot/community/community_tentacles_package.py +++ b/octobot/community/community_tentacles_package.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/community_user_account.py b/octobot/community/community_user_account.py index 26be5d6a2..4c7fe5a9b 100644 --- a/octobot/community/community_user_account.py +++ b/octobot/community/community_user_account.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/errors.py b/octobot/community/errors.py index 88066cd9e..f1f6e7fd3 100644 --- a/octobot/community/errors.py +++ b/octobot/community/errors.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/errors_upload/__init__.py b/octobot/community/errors_upload/__init__.py index ea462daf2..50f6f864d 100644 --- a/octobot/community/errors_upload/__init__.py +++ b/octobot/community/errors_upload/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/errors_upload/error_model.py b/octobot/community/errors_upload/error_model.py index 2fe16cb8d..e65bbe603 100644 --- a/octobot/community/errors_upload/error_model.py +++ b/octobot/community/errors_upload/error_model.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/errors_upload/errors_uploader.py b/octobot/community/errors_upload/errors_uploader.py index fa321e44f..9bef556b6 100644 --- a/octobot/community/errors_upload/errors_uploader.py +++ b/octobot/community/errors_upload/errors_uploader.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/errors_upload/initializer.py b/octobot/community/errors_upload/initializer.py index 8ac00e3fd..0a813344d 100644 --- a/octobot/community/errors_upload/initializer.py +++ b/octobot/community/errors_upload/initializer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/feeds/__init__.py b/octobot/community/feeds/__init__.py index 53fcca1a2..9d0b14e41 100644 --- a/octobot/community/feeds/__init__.py +++ b/octobot/community/feeds/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/feeds/abstract_feed.py b/octobot/community/feeds/abstract_feed.py index ba92fa113..f5d66060e 100644 --- a/octobot/community/feeds/abstract_feed.py +++ b/octobot/community/feeds/abstract_feed.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/feeds/community_mqtt_feed.py b/octobot/community/feeds/community_mqtt_feed.py index 7b6359fb8..7b97850a5 100644 --- a/octobot/community/feeds/community_mqtt_feed.py +++ b/octobot/community/feeds/community_mqtt_feed.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/feeds/community_ws_feed.py b/octobot/community/feeds/community_ws_feed.py index c6be033bb..d39489d58 100644 --- a/octobot/community/feeds/community_ws_feed.py +++ b/octobot/community/feeds/community_ws_feed.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/feeds/feed_factory.py b/octobot/community/feeds/feed_factory.py index 9fbcf9cc3..1d96f8769 100644 --- a/octobot/community/feeds/feed_factory.py +++ b/octobot/community/feeds/feed_factory.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/graphql_requests.py b/octobot/community/graphql_requests.py index 974db570f..9df15e405 100644 --- a/octobot/community/graphql_requests.py +++ b/octobot/community/graphql_requests.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/identifiers_provider.py b/octobot/community/identifiers_provider.py index afdfe34c3..d0de0cca2 100644 --- a/octobot/community/identifiers_provider.py +++ b/octobot/community/identifiers_provider.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/community/startup_info.py b/octobot/community/startup_info.py index 9968c1f0b..ef535b52d 100644 --- a/octobot/community/startup_info.py +++ b/octobot/community/startup_info.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/configuration_manager.py b/octobot/configuration_manager.py index f3e1959ac..dcafe53d2 100644 --- a/octobot/configuration_manager.py +++ b/octobot/configuration_manager.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/constants.py b/octobot/constants.py index b470e0056..6a2ea9076 100644 --- a/octobot/constants.py +++ b/octobot/constants.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/disclaimer.py b/octobot/disclaimer.py index fe0cdddc6..eb1226c35 100644 --- a/octobot/disclaimer.py +++ b/octobot/disclaimer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/enums.py b/octobot/enums.py index ce941df46..5377697c7 100644 --- a/octobot/enums.py +++ b/octobot/enums.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/initializer.py b/octobot/initializer.py index c4607d4e2..dd6990e58 100644 --- a/octobot/initializer.py +++ b/octobot/initializer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/limits.py b/octobot/limits.py index 55a431f55..4d5defafb 100644 --- a/octobot/limits.py +++ b/octobot/limits.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/logger.py b/octobot/logger.py index 29a904504..16f1187cc 100644 --- a/octobot/logger.py +++ b/octobot/logger.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/octobot.py b/octobot/octobot.py index fa61bacc7..181cf001a 100644 --- a/octobot/octobot.py +++ b/octobot/octobot.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/octobot_api.py b/octobot/octobot_api.py index e06c30041..e216527c7 100644 --- a/octobot/octobot_api.py +++ b/octobot/octobot_api.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/octobot_backtesting_factory.py b/octobot/octobot_backtesting_factory.py index c3a93d32f..9b75f1cb8 100644 --- a/octobot/octobot_backtesting_factory.py +++ b/octobot/octobot_backtesting_factory.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/octobot_channel_consumer.py b/octobot/octobot_channel_consumer.py index 528d6a18a..fc257e1ff 100644 --- a/octobot/octobot_channel_consumer.py +++ b/octobot/octobot_channel_consumer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/producers/__init__.py b/octobot/producers/__init__.py index 3f66989e9..05c7ad3a3 100644 --- a/octobot/producers/__init__.py +++ b/octobot/producers/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/producers/evaluator_producer.py b/octobot/producers/evaluator_producer.py index dc13091f3..f679840f1 100644 --- a/octobot/producers/evaluator_producer.py +++ b/octobot/producers/evaluator_producer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/producers/exchange_producer.py b/octobot/producers/exchange_producer.py index caa8c5591..e1f6eddc2 100644 --- a/octobot/producers/exchange_producer.py +++ b/octobot/producers/exchange_producer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/producers/interface_producer.py b/octobot/producers/interface_producer.py index 607be4f53..a2bd31883 100644 --- a/octobot/producers/interface_producer.py +++ b/octobot/producers/interface_producer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/producers/service_feed_producer.py b/octobot/producers/service_feed_producer.py index f3afcfcb5..29ee87107 100644 --- a/octobot/producers/service_feed_producer.py +++ b/octobot/producers/service_feed_producer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/storage/__init__.py b/octobot/storage/__init__.py index 9f8ee86cd..4f2e0e698 100644 --- a/octobot/storage/__init__.py +++ b/octobot/storage/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/storage/db_databases_pruning.py b/octobot/storage/db_databases_pruning.py index 93e01345f..d3715dfd8 100644 --- a/octobot/storage/db_databases_pruning.py +++ b/octobot/storage/db_databases_pruning.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/storage/trading_metadata.py b/octobot/storage/trading_metadata.py index 70f05b4f7..5315c82e7 100644 --- a/octobot/storage/trading_metadata.py +++ b/octobot/storage/trading_metadata.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/strategy_optimizer/__init__.py b/octobot/strategy_optimizer/__init__.py index d8309bd15..a7c48c1fd 100644 --- a/octobot/strategy_optimizer/__init__.py +++ b/octobot/strategy_optimizer/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/strategy_optimizer/strategy_optimizer.py b/octobot/strategy_optimizer/strategy_optimizer.py index 7328c2cee..e1dae56a5 100644 --- a/octobot/strategy_optimizer/strategy_optimizer.py +++ b/octobot/strategy_optimizer/strategy_optimizer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/strategy_optimizer/strategy_test_suite.py b/octobot/strategy_optimizer/strategy_test_suite.py index 6749c401e..6e7ec0b2a 100644 --- a/octobot/strategy_optimizer/strategy_test_suite.py +++ b/octobot/strategy_optimizer/strategy_test_suite.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/strategy_optimizer/test_suite_result.py b/octobot/strategy_optimizer/test_suite_result.py index 5374d3f54..890777a3c 100644 --- a/octobot/strategy_optimizer/test_suite_result.py +++ b/octobot/strategy_optimizer/test_suite_result.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/task_manager.py b/octobot/task_manager.py index a00465a08..13e83ee0d 100644 --- a/octobot/task_manager.py +++ b/octobot/task_manager.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/updater/__init__.py b/octobot/updater/__init__.py index f16c0ad94..4152b440a 100644 --- a/octobot/updater/__init__.py +++ b/octobot/updater/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/updater/binary_updater.py b/octobot/updater/binary_updater.py index 7186233a8..32dd5bb88 100644 --- a/octobot/updater/binary_updater.py +++ b/octobot/updater/binary_updater.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/updater/python_updater.py b/octobot/updater/python_updater.py index b531db1d7..13ca75f4f 100644 --- a/octobot/updater/python_updater.py +++ b/octobot/updater/python_updater.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/updater/updater.py b/octobot/updater/updater.py index 2731ae5e5..056c59358 100644 --- a/octobot/updater/updater.py +++ b/octobot/updater/updater.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/octobot/updater/updater_factory.py b/octobot/updater/updater_factory.py index 580b7e68f..8e804ea5d 100644 --- a/octobot/updater/updater_factory.py +++ b/octobot/updater/updater_factory.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/setup.py b/setup.py index d3eb733b0..4bd0add61 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/start.py b/start.py index 481f916e5..4610706ed 100644 --- a/start.py +++ b/start.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/__init__.py b/tests/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/__init__.py b/tests/functional_tests/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/functional_tests/__init__.py +++ b/tests/functional_tests/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/backtesting_tests/__init__.py b/tests/functional_tests/backtesting_tests/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/functional_tests/backtesting_tests/__init__.py +++ b/tests/functional_tests/backtesting_tests/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/backtesting_tests/backtesting_test.py b/tests/functional_tests/backtesting_tests/backtesting_test.py index a7b53b4b7..9c719da66 100644 --- a/tests/functional_tests/backtesting_tests/backtesting_test.py +++ b/tests/functional_tests/backtesting_tests/backtesting_test.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/evaluators_tests/__init__.py b/tests/functional_tests/evaluators_tests/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/functional_tests/evaluators_tests/__init__.py +++ b/tests/functional_tests/evaluators_tests/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/evaluators_tests/abstract_TA_test.py b/tests/functional_tests/evaluators_tests/abstract_TA_test.py index f66b86f02..24e5ad066 100644 --- a/tests/functional_tests/evaluators_tests/abstract_TA_test.py +++ b/tests/functional_tests/evaluators_tests/abstract_TA_test.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/launch_test/__init__.py b/tests/functional_tests/launch_test/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/functional_tests/launch_test/__init__.py +++ b/tests/functional_tests/launch_test/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/launch_test/launch_test.py b/tests/functional_tests/launch_test/launch_test.py index ae5fbf600..daed6e83e 100644 --- a/tests/functional_tests/launch_test/launch_test.py +++ b/tests/functional_tests/launch_test/launch_test.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/strategy_evaluators_tests/__init__.py b/tests/functional_tests/strategy_evaluators_tests/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/functional_tests/strategy_evaluators_tests/__init__.py +++ b/tests/functional_tests/strategy_evaluators_tests/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/functional_tests/strategy_evaluators_tests/abstract_strategy_test.py b/tests/functional_tests/strategy_evaluators_tests/abstract_strategy_test.py index d3cdf6c23..dedea9c1b 100644 --- a/tests/functional_tests/strategy_evaluators_tests/abstract_strategy_test.py +++ b/tests/functional_tests/strategy_evaluators_tests/abstract_strategy_test.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/test_utils/__init__.py b/tests/test_utils/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/test_utils/__init__.py +++ b/tests/test_utils/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/test_utils/bot_management.py b/tests/test_utils/bot_management.py index a436003aa..960a333bf 100644 --- a/tests/test_utils/bot_management.py +++ b/tests/test_utils/bot_management.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/test_utils/config.py b/tests/test_utils/config.py index c25bc47f0..eea151ec4 100644 --- a/tests/test_utils/config.py +++ b/tests/test_utils/config.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/test_utils/data_bank.py b/tests/test_utils/data_bank.py index c374b3b67..e54a77c65 100644 --- a/tests/test_utils/data_bank.py +++ b/tests/test_utils/data_bank.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/test_utils/logging.py b/tests/test_utils/logging.py index 934127a93..c732f3aea 100644 --- a/tests/test_utils/logging.py +++ b/tests/test_utils/logging.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/test_utils/memory_check_util.py b/tests/test_utils/memory_check_util.py index d11ab8038..c0de91762 100644 --- a/tests/test_utils/memory_check_util.py +++ b/tests/test_utils/memory_check_util.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/test_utils/order_util.py b/tests/test_utils/order_util.py index 74860debf..5ead56eaf 100644 --- a/tests/test_utils/order_util.py +++ b/tests/test_utils/order_util.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/test_utils/test_exchanges.py b/tests/test_utils/test_exchanges.py index e0104ca49..6ca493ff0 100644 --- a/tests/test_utils/test_exchanges.py +++ b/tests/test_utils/test_exchanges.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/__init__.py b/tests/unit_tests/community/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/unit_tests/community/__init__.py +++ b/tests/unit_tests/community/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/errors_upload/__init__.py b/tests/unit_tests/community/errors_upload/__init__.py index 586761d91..09314b3c6 100644 --- a/tests/unit_tests/community/errors_upload/__init__.py +++ b/tests/unit_tests/community/errors_upload/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/errors_upload/test_error_model.py b/tests/unit_tests/community/errors_upload/test_error_model.py index 5c8ce05df..2e365aaf9 100644 --- a/tests/unit_tests/community/errors_upload/test_error_model.py +++ b/tests/unit_tests/community/errors_upload/test_error_model.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/errors_upload/test_errors_uploader.py b/tests/unit_tests/community/errors_upload/test_errors_uploader.py index 85b365630..0522e4569 100644 --- a/tests/unit_tests/community/errors_upload/test_errors_uploader.py +++ b/tests/unit_tests/community/errors_upload/test_errors_uploader.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/errors_upload/test_initializer.py b/tests/unit_tests/community/errors_upload/test_initializer.py index 3cde1517c..1bd555fb0 100644 --- a/tests/unit_tests/community/errors_upload/test_initializer.py +++ b/tests/unit_tests/community/errors_upload/test_initializer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/test_authentication.py b/tests/unit_tests/community/test_authentication.py index 35b4a19f2..428f87c41 100644 --- a/tests/unit_tests/community/test_authentication.py +++ b/tests/unit_tests/community/test_authentication.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/test_community_data.py b/tests/unit_tests/community/test_community_data.py index 981039c0c..fb6ffb7e7 100644 --- a/tests/unit_tests/community/test_community_data.py +++ b/tests/unit_tests/community/test_community_data.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/test_community_mqtt_feed.py b/tests/unit_tests/community/test_community_mqtt_feed.py index 138f5f8fa..914cd1018 100644 --- a/tests/unit_tests/community/test_community_mqtt_feed.py +++ b/tests/unit_tests/community/test_community_mqtt_feed.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/community/test_community_ws_feed.py b/tests/unit_tests/community/test_community_ws_feed.py index 7c8a9bb1f..898a1af7b 100644 --- a/tests/unit_tests/community/test_community_ws_feed.py +++ b/tests/unit_tests/community/test_community_ws_feed.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/strategy_optimizer/__init__.py b/tests/unit_tests/strategy_optimizer/__init__.py index 1d9cb88c9..5c9cc98b6 100644 --- a/tests/unit_tests/strategy_optimizer/__init__.py +++ b/tests/unit_tests/strategy_optimizer/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/strategy_optimizer/test_strategy_design_optimizer.py b/tests/unit_tests/strategy_optimizer/test_strategy_design_optimizer.py index d73e2a2a8..c38c941a9 100644 --- a/tests/unit_tests/strategy_optimizer/test_strategy_design_optimizer.py +++ b/tests/unit_tests/strategy_optimizer/test_strategy_design_optimizer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/strategy_optimizer/test_strategy_optimizer.py b/tests/unit_tests/strategy_optimizer/test_strategy_optimizer.py index 34884530d..18b39a799 100644 --- a/tests/unit_tests/strategy_optimizer/test_strategy_optimizer.py +++ b/tests/unit_tests/strategy_optimizer/test_strategy_optimizer.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/strategy_optimizer/test_strategy_test_suite.py b/tests/unit_tests/strategy_optimizer/test_strategy_test_suite.py index 12590908e..39a2d110f 100644 --- a/tests/unit_tests/strategy_optimizer/test_strategy_test_suite.py +++ b/tests/unit_tests/strategy_optimizer/test_strategy_test_suite.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/test_configuration_manager.py b/tests/unit_tests/test_configuration_manager.py index ba5d5807f..47faac47a 100644 --- a/tests/unit_tests/test_configuration_manager.py +++ b/tests/unit_tests/test_configuration_manager.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/trading_modes_tests/__init__.py b/tests/unit_tests/trading_modes_tests/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/unit_tests/trading_modes_tests/__init__.py +++ b/tests/unit_tests/trading_modes_tests/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/trading_modes_tests/trading_mode_test_toolkit.py b/tests/unit_tests/trading_modes_tests/trading_mode_test_toolkit.py index a6085b2c6..16dc63bc5 100644 --- a/tests/unit_tests/trading_modes_tests/trading_mode_test_toolkit.py +++ b/tests/unit_tests/trading_modes_tests/trading_mode_test_toolkit.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/updater/__init__.py b/tests/unit_tests/updater/__init__.py index 0a707f55f..a7f6e84bb 100644 --- a/tests/unit_tests/updater/__init__.py +++ b/tests/unit_tests/updater/__init__.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License diff --git a/tests/unit_tests/updater/test_updater.py b/tests/unit_tests/updater/test_updater.py index c29fd6df6..eaaa4b553 100644 --- a/tests/unit_tests/updater/test_updater.py +++ b/tests/unit_tests/updater/test_updater.py @@ -1,5 +1,5 @@ # This file is part of OctoBot (https://github.com/Drakkar-Software/OctoBot) -# Copyright (c) 2022 Drakkar-Software, All rights reserved. +# Copyright (c) 2023 Drakkar-Software, All rights reserved. # # OctoBot is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License From 1e92cb2afab3adcbd4571f1ee4505b18241c34cc Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 2 Jan 2023 00:30:56 +0100 Subject: [PATCH 5/7] [Version] v0.4.33 --- CHANGELOG.md | 8 ++++++++ README.md | 2 +- octobot/__init__.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13c5b5ec3..26b1010d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 *It is strongly advised to perform an update of your tentacles after updating OctoBot. (start.py tentacles --install --all)* +## [0.4.33] - 2023-01-02 +### Added +- Profile selector +- Login session persistence +### Updated +- Tutorials +- Mobile display + ## [0.4.32] - 2022-12-29 ### Fixed - MQTT reconnection issues diff --git a/README.md b/README.md index 1e2f5835c..b2c039bba 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot [0.4.32](https://octobot.click/gh-changelog) +# OctoBot [0.4.33](https://octobot.click/gh-changelog) [![PyPI](https://img.shields.io/pypi/v/OctoBot.svg)](https://octobot.click/gh-pypi) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/e07fb190156d4efb8e7d07aaa5eff2e1)](https://app.codacy.com/gh/Drakkar-Software/OctoBot?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot&utm_campaign=Badge_Grade_Dashboard)[![Downloads](https://pepy.tech/badge/octobot/month)](https://pepy.tech/project/octobot) [![Dockerhub](https://img.shields.io/docker/pulls/drakkarsoftware/octobot.svg)](https://octobot.click/gh-dockerhub) diff --git a/octobot/__init__.py b/octobot/__init__.py index 44d18404a..3c16ede67 100644 --- a/octobot/__init__.py +++ b/octobot/__init__.py @@ -16,5 +16,5 @@ PROJECT_NAME = "OctoBot" AUTHOR = "Drakkar-Software" -VERSION = "0.4.32" # major.minor.revision +VERSION = "0.4.33" # major.minor.revision LONG_VERSION = f"{VERSION}" From 12e846f9e7dd77647e8cb52f645f9b6f2aa4a741 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 2 Jan 2023 14:46:07 +0100 Subject: [PATCH 6/7] [Tests] update future exchange tests --- exchanges_tests/abstract_authenticated_exchange_tester.py | 4 ++++ .../abstract_authenticated_future_exchange_tester.py | 4 ++-- exchanges_tests/test_bybit.py | 1 + requirements.txt | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/exchanges_tests/abstract_authenticated_exchange_tester.py b/exchanges_tests/abstract_authenticated_exchange_tester.py index 8c8c05d27..5eedc8bf8 100644 --- a/exchanges_tests/abstract_authenticated_exchange_tester.py +++ b/exchanges_tests/abstract_authenticated_exchange_tester.py @@ -44,6 +44,7 @@ class AbstractAuthenticatedExchangeTester: CONVERTS_ORDER_SIZE_BEFORE_PUSHING_TO_EXCHANGES = False ORDER_PRICE_DIFF = 20 # % of price difference compared to current price for limit and stop orders NO_FEE_ON_GET_CLOSED_ORDERS = False + OPEN_ORDERS_IN_CLOSED_ORDERS = False MARKET_FILL_TIMEOUT = 15 CANCEL_TIMEOUT = 15 EDIT_TIMEOUT = 15 @@ -267,6 +268,9 @@ def check_parsed_closed_order(self, order: personal_data.Order): assert order.side if order.status not in (trading_enums.OrderStatus.REJECTED, trading_enums.OrderStatus.CANCELED): assert order.origin_quantity + if self.OPEN_ORDERS_IN_CLOSED_ORDERS and order.status is trading_enums.OrderStatus.OPEN: + # when order is open, cost is not full + return self.check_theoretical_cost( symbols.parse_symbol(order.symbol), order.origin_quantity, order.origin_price, order.total_cost ) diff --git a/exchanges_tests/abstract_authenticated_future_exchange_tester.py b/exchanges_tests/abstract_authenticated_future_exchange_tester.py index 5e0b55eda..f7431814a 100644 --- a/exchanges_tests/abstract_authenticated_future_exchange_tester.py +++ b/exchanges_tests/abstract_authenticated_future_exchange_tester.py @@ -181,7 +181,7 @@ async def order_in_open_orders(self, previous_open_orders, order): def check_theoretical_cost(self, symbol, quantity, price, cost): if symbol.is_inverse(): - theoretical_cost = quantity * price - else: theoretical_cost = quantity + else: + theoretical_cost = quantity * price assert theoretical_cost * decimal.Decimal("0.8") <= cost <= theoretical_cost * decimal.Decimal("1.2") diff --git a/exchanges_tests/test_bybit.py b/exchanges_tests/test_bybit.py index 30c217873..fad7d465d 100644 --- a/exchanges_tests/test_bybit.py +++ b/exchanges_tests/test_bybit.py @@ -30,6 +30,7 @@ class TestBybitAuthenticatedExchange( SETTLEMENT_CURRENCY = "USDT" SYMBOL = f"{ORDER_CURRENCY}/{SETTLEMENT_CURRENCY}:{SETTLEMENT_CURRENCY}" ORDER_SIZE = 10 # % of portfolio to include in test orders + OPEN_ORDERS_IN_CLOSED_ORDERS = True async def test_get_portfolio(self): await super().test_get_portfolio() diff --git a/requirements.txt b/requirements.txt index 5c53b7832..594c94fad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ cython==0.29.32 # Drakkar-Software requirements OctoBot-Commons==1.8.2 -OctoBot-Trading==2.3.3 +OctoBot-Trading==2.3.4 OctoBot-Evaluators==1.8.0 OctoBot-Tentacles-Manager==2.8.1 OctoBot-Services==1.4.1 From 001f072ad5bb1ad29dc177b6a3b965d7b4f489ce Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Mon, 2 Jan 2023 14:46:32 +0100 Subject: [PATCH 7/7] [Tests] check closed orders after order creation tests --- .../abstract_authenticated_exchange_tester.py | 36 +++++++++---------- exchanges_tests/test_ascendex.py | 12 +++---- exchanges_tests/test_binance.py | 12 +++---- exchanges_tests/test_bitget.py | 12 +++---- exchanges_tests/test_bybit.py | 12 +++---- exchanges_tests/test_coinbasepro.py | 12 +++---- exchanges_tests/test_hollaex.py | 12 +++---- exchanges_tests/test_huobi.py | 12 +++---- exchanges_tests/test_kucoin.py | 12 +++---- exchanges_tests/test_okx.py | 12 +++---- exchanges_tests/test_phemex.py | 12 +++---- 11 files changed, 78 insertions(+), 78 deletions(-) diff --git a/exchanges_tests/abstract_authenticated_exchange_tester.py b/exchanges_tests/abstract_authenticated_exchange_tester.py index 5eedc8bf8..07b30d1c4 100644 --- a/exchanges_tests/abstract_authenticated_exchange_tester.py +++ b/exchanges_tests/abstract_authenticated_exchange_tester.py @@ -60,24 +60,6 @@ async def test_get_portfolio(self): async def inner_test_get_portfolio(self): self.check_portfolio_content(await self.get_portfolio()) - async def test_get_my_recent_trades(self): - async with self.local_exchange_manager(): - await self.inner_test_get_my_recent_trades() - - async def inner_test_get_my_recent_trades(self): - trades = await self.get_my_recent_trades() - assert trades - self.check_raw_trades(trades) - - async def test_get_closed_orders(self): - async with self.local_exchange_manager(): - await self.inner_test_get_closed_orders() - - async def inner_test_get_closed_orders(self): - orders = await self.get_closed_orders() - assert orders - self.check_raw_closed_orders(orders) - async def test_create_and_cancel_limit_orders(self): async with self.local_exchange_manager(): await self.inner_test_create_and_cancel_limit_orders() @@ -135,6 +117,24 @@ async def inner_test_create_and_cancel_stop_orders(self): await self.wait_for_cancel(stop_loss) assert await self.order_not_in_open_orders(open_orders, stop_loss) + async def test_get_my_recent_trades(self): + async with self.local_exchange_manager(): + await self.inner_test_get_my_recent_trades() + + async def inner_test_get_my_recent_trades(self): + trades = await self.get_my_recent_trades() + assert trades + self.check_raw_trades(trades) + + async def test_get_closed_orders(self): + async with self.local_exchange_manager(): + await self.inner_test_get_closed_orders() + + async def inner_test_get_closed_orders(self): + orders = await self.get_closed_orders() + assert orders + self.check_raw_closed_orders(orders) + async def test_edit_limit_order(self): # pass if not implemented async with self.local_exchange_manager(): diff --git a/exchanges_tests/test_ascendex.py b/exchanges_tests/test_ascendex.py index 6e19c6cdd..c041a66b1 100644 --- a/exchanges_tests/test_ascendex.py +++ b/exchanges_tests/test_ascendex.py @@ -34,18 +34,18 @@ class TestAscendexAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): await super().test_create_and_cancel_limit_orders() async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass diff --git a/exchanges_tests/test_binance.py b/exchanges_tests/test_binance.py index ac1b18462..498fbdd6f 100644 --- a/exchanges_tests/test_binance.py +++ b/exchanges_tests/test_binance.py @@ -34,18 +34,18 @@ class TestBinanceAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): await super().test_create_and_cancel_limit_orders() async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass diff --git a/exchanges_tests/test_bitget.py b/exchanges_tests/test_bitget.py index cfc152c6e..2f682457f 100644 --- a/exchanges_tests/test_bitget.py +++ b/exchanges_tests/test_bitget.py @@ -38,18 +38,18 @@ class TestBitgetAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): await super().test_create_and_cancel_limit_orders() async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass diff --git a/exchanges_tests/test_bybit.py b/exchanges_tests/test_bybit.py index fad7d465d..25239b5f0 100644 --- a/exchanges_tests/test_bybit.py +++ b/exchanges_tests/test_bybit.py @@ -35,12 +35,6 @@ class TestBybitAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_get_empty_linear_and_inverse_positions(self): await super().test_get_empty_linear_and_inverse_positions() @@ -50,6 +44,12 @@ async def test_create_and_cancel_limit_orders(self): async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented await super().test_create_and_cancel_stop_orders() diff --git a/exchanges_tests/test_coinbasepro.py b/exchanges_tests/test_coinbasepro.py index 8f30f2e9e..716d81e2b 100644 --- a/exchanges_tests/test_coinbasepro.py +++ b/exchanges_tests/test_coinbasepro.py @@ -35,18 +35,18 @@ class TestCoinbaseproAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): await super().test_create_and_cancel_limit_orders() async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass diff --git a/exchanges_tests/test_hollaex.py b/exchanges_tests/test_hollaex.py index f6484195a..5caf21d8f 100644 --- a/exchanges_tests/test_hollaex.py +++ b/exchanges_tests/test_hollaex.py @@ -36,18 +36,18 @@ class TestHollaexAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): await super().test_create_and_cancel_limit_orders() async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass diff --git a/exchanges_tests/test_huobi.py b/exchanges_tests/test_huobi.py index 61eef682c..1977b4920 100644 --- a/exchanges_tests/test_huobi.py +++ b/exchanges_tests/test_huobi.py @@ -35,18 +35,18 @@ class TestHuobiAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): await super().test_create_and_cancel_limit_orders() async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass diff --git a/exchanges_tests/test_kucoin.py b/exchanges_tests/test_kucoin.py index 3a5cc4b5f..f66b5d03d 100644 --- a/exchanges_tests/test_kucoin.py +++ b/exchanges_tests/test_kucoin.py @@ -34,18 +34,18 @@ class TestKucoinAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): await super().test_create_and_cancel_limit_orders() async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass diff --git a/exchanges_tests/test_okx.py b/exchanges_tests/test_okx.py index f7bb4a70a..1bbe436e6 100644 --- a/exchanges_tests/test_okx.py +++ b/exchanges_tests/test_okx.py @@ -34,18 +34,18 @@ class TestOKXAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): await super().test_create_and_cancel_limit_orders() async def test_create_and_fill_market_orders(self): await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass diff --git a/exchanges_tests/test_phemex.py b/exchanges_tests/test_phemex.py index ba06bd91d..ff5ec53ac 100644 --- a/exchanges_tests/test_phemex.py +++ b/exchanges_tests/test_phemex.py @@ -34,12 +34,6 @@ class TestPemexAuthenticatedExchange( async def test_get_portfolio(self): await super().test_get_portfolio() - async def test_get_my_recent_trades(self): - await super().test_get_my_recent_trades() - - async def test_get_closed_orders(self): - await super().test_get_closed_orders() - async def test_create_and_cancel_limit_orders(self): # 08 dec 2022: did not run so far, testnet is bugged: order are apparently accepted but never show up await super().test_create_and_cancel_limit_orders() @@ -48,6 +42,12 @@ async def test_create_and_fill_market_orders(self): # 08 dec 2022: did not run so far, testnet is bugged: order are apparently accepted but never show up await super().test_create_and_fill_market_orders() + async def test_get_my_recent_trades(self): + await super().test_get_my_recent_trades() + + async def test_get_closed_orders(self): + await super().test_get_closed_orders() + async def test_create_and_cancel_stop_orders(self): # pass if not implemented pass