Skip to content

Commit 8e7bef4

Browse files
k-kristofgnvk
authored andcommitted
Fix whitespaces
1 parent ead541e commit 8e7bef4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

alpaca_trade_api/rest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def get(self, path, data=None):
157157

158158
def post(self, path, data=None):
159159
return self._request('POST', path, data)
160-
160+
161161
def put(self, path, data=None):
162162
return self._request('PUT', path, data)
163163

@@ -551,7 +551,7 @@ def get_watchlist_by_name(self, watchlist_name: str) -> Watchlist:
551551

552552
def create_watchlist(self,
553553
watchlist_name: str,
554-
symbols = None) -> Watchlist:
554+
symbols=None) -> Watchlist:
555555
"""Create a new watchlist with an optional initial set of assets"""
556556
params = {
557557
'name': watchlist_name,
@@ -562,7 +562,7 @@ def create_watchlist(self,
562562
return Watchlist(resp)
563563

564564
def add_to_watchlist(self, watchlist_id: str, symbol: str) -> Watchlist:
565-
"""Append the asset for a symbol to the end of a watchlist's asset list"""
565+
"""Add an asset to the watchlist"""
566566
resp = self.post(
567567
'/watchlists/{}'.format(watchlist_id), data=dict(symbol=symbol)
568568
)
@@ -571,7 +571,7 @@ def add_to_watchlist(self, watchlist_id: str, symbol: str) -> Watchlist:
571571
def update_watchlist(self,
572572
watchlist_id: str,
573573
name: str = None,
574-
symbols = None) -> Watchlist:
574+
symbols=None) -> Watchlist:
575575
"""Update a watchlist's name and/or asset list"""
576576
params = {}
577577
if name is not None:

0 commit comments

Comments
 (0)