Jupyter Notebook
Python
Problem
Summary
*Hello, I am trying to return my current open positions in a List with my current Paper Trading account in Alpaca within Python (using Jupyter Notebook). However, my code is just returning a blank list. Has anyone run into this issue? *
Paper or Live Tradng?
Paper Trading
Example Code
import alpaca_trade_api as tradeapi
api = tradeapi.REST(API_KEY, SECRET_KEY)
# Get a list of all of our positions.
portfolio = api.list_positions()```