Skip to content

Commit

Permalink
[ProfileData] add proxy_id
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Oct 23, 2024
1 parent a44db13 commit 3a84471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions octobot_commons/profiles/profile_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/profiles/test_profile_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down

0 comments on commit 3a84471

Please sign in to comment.