Triggers when a new order is created
This function sends a request to the platform's API to create a new post with the provided content, visibility, and other optional parameters like hashtags, mentions, and media attachments.
Get the account info
Places a new order
Closes all open positions.
Cancel a specific order by id
Cancels All the orders
Alpaca is a platform that provides commission-free trading APIs for stocks and other financial instruments. It allows developers to build and automate their trading strategies with ease.
Learn More