List of All Supported Python APIs

Can any one share a list of all PYTHON APIs supported by ALPACA? The documentation at Alpaca Documentation gives the fields of APIs in general but could not find equivalent PYTHON APIs to call.

Thanks in Advance,

2 Likes

One can get a list of methods in a python package (not just Alpaca) by using the help function. Assuming you have imported the alpaca_trade_api module. Something like this will first display all the available packages.

import alpaca_trade_api
help('alpaca_trade_api')

The rest package has most of the methods to get data, account info, calendars etc. To list all the available methods in the rest package do this

help('alpaca_trade_api.rest')

There are other methods to stream data and get data from Polygon in their respective packages.

This is of course easiest to display in an interactive environment such as Jupyter notebooks. If you don’t have an interactive environment, I would highly recommend looking into Google Colab. It’s in the cloud, there’s nothing to download, everything is in your browser, and best of all it’s free.

One can also browse the actual python alpaca_trade_api right on GitHub to view the available supported APIs but it’s a bit cumbersome. However, one benefit is to be able to also view the actual implementation code.

Hope that helps.