Skip to content

Commit

Permalink
Removed watching from watchlist request (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
stabacco authored Jan 3, 2022
1 parent c63d6c3 commit 9239065
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions stake/watchlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@

class AddToWatchlistRequest(BaseModel):
symbol: str
watching: bool = True


class RemoveFromWatchlistRequest(BaseModel):
symbol: str
watching: bool = False


class WatchlistResponse(BaseModel):
Expand Down Expand Up @@ -53,7 +51,6 @@ async def _modify_watchlist(
payload = {
"instrumentID": str(product.id),
"userID": str(self._client.user.id),
"watching": request.watching,
}
data = await self._client.post(Url.watchlist_modify, payload=payload)

Expand Down

0 comments on commit 9239065

Please sign in to comment.