Skip to content

Commit

Permalink
[Authentication] add reset to update methds
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume De Saint Martin authored and GuillaumeDSM committed Mar 1, 2023
1 parent 45cffd4 commit 3323391
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion octobot_commons/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async def await_initialization(self, timeout):
"""
await asyncio.wait_for(self.initialized_event.wait(), timeout)

async def update_trades(self, trades: list):
async def update_trades(self, trades: list, reset: bool):
"""
Updates authenticated account trades
"""
Expand All @@ -137,6 +137,7 @@ async def update_portfolio(
content: dict,
history: dict,
price_by_asset: dict,
reset: bool,
):
"""
Updates authenticated account portfolio
Expand Down

0 comments on commit 3323391

Please sign in to comment.