From 3a84471fd8fb3166b6b26dbdbc09ff381b5e09a1 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Wed, 23 Oct 2024 00:22:08 +0200 Subject: [PATCH] [ProfileData] add proxy_id --- octobot_commons/profiles/profile_data.py | 1 + tests/profiles/test_profile_data.py | 1 + 2 files changed, 2 insertions(+) diff --git a/octobot_commons/profiles/profile_data.py b/octobot_commons/profiles/profile_data.py index ef19c936..34fcd91f 100644 --- a/octobot_commons/profiles/profile_data.py +++ b/octobot_commons/profiles/profile_data.py @@ -43,6 +43,7 @@ class ExchangeData(octobot_commons.dataclasses.FlexibleDataclass): exchange_credential_id: typing.Union[str, None] = None internal_name: typing.Union[str, None] = None exchange_id: typing.Union[str, None] = None + proxy_id: typing.Union[str, None] = None @dataclasses.dataclass diff --git a/tests/profiles/test_profile_data.py b/tests/profiles/test_profile_data.py index 3738bc41..37a1ff21 100644 --- a/tests/profiles/test_profile_data.py +++ b/tests/profiles/test_profile_data.py @@ -49,6 +49,7 @@ def profile_data_dict(): { 'exchange_credential_id': '123-plop', 'exchange_id': '123-exchange', + 'proxy_id': '123-proxy', 'internal_name': 'cryptocom' } ], 'trader': {