Hello fellow Alpacas,
I am 100% new here but looking to stay for a long long time! Thanks for your help.
Have a question, I downloaded the alpaca_trade_api (python) and am cruising through the defined functions. I was able to set up the REST API using my paper account key and password.
However, when I start using the basic api functions, I can’t seem to have them work.
for example:
api.get_last_trade(‘AAPL’)
AttributeError Traceback (most recent call last)
in () ----> 1 api.get_last_trade(‘AAPL’)
AttributeError: ‘REST’ object has no attribute ‘get_last_trade’