Team,
I need a list of all “shortable” stocks on alpaca.
thx
This is what I do,
import alpaca_trade_api as alpaca
api = alpaca.REST(KEYID, SECRETKEY, 'https://paper-api.alpaca.markets')
active_assets = api.list_assets(status='active')
short_list = []
for asset in active_assets:
if asset.easy_to_borrow and asset.marginable:
short_list.append(asset.symbol)
2 Likes
thank you. can you short during extended hours?
I couldn’t short AAPL or TSLA today after hours
Yes I think so, but for paper trade, an actual live order should have also taken place.
Quoting Alpaca documentation,
“All symbols supported during regular market hours are also supported during extended hours. Short selling is also treated the same.”