Excel VBA Examples



Alpaca SDK Version
If you’re using an SDK library to interface with the Alpaca API, please include the version number you have installed in your environment.

Other Environment Details
If there’s anything else you’d like to invlude about the environment you’re running your code in - operating System, cloud provider, etc. - list it here.


*Looking for example VBA code to place orders, retrieve orders, etc. I have the retrieval of prices for a stock working but cannot get the methods like watchlists, or bars to work. *

Paper or Live Tradng?
Let us know if you’re using the paper trading simulator or the live trading API.

Example Code
If you have code that reproduces the problem or will make your issue more clear, please include it here