Stocks & ETFs

Buy, Sell, and Short US Stocks and ETFs

Trade stocks and ETFs with a simple API, web dashboard, Connect apps, or directly on the TradingView platform using a robust suite of advanced order types

Sign Up for Free
Stocks illustration
Stocks and ETFs

Over 11,000 stocks and ETFs

Invest in thousands of stocks, ETFs, ADRs, and OTCs. Alpaca currently supports over 11,000 U.S. listed stocks and ETFs.

Pie chart fractional

Fractional shares - invest with $1

Fractional shares allow you to invest in a portion, rather than a whole share, of a company. Our API is flexible: you can complete a fractional trade using a quantity or dollar-based amount and we'll convert it to parts of a full share.

Code sandbox

Test in a sandbox environment

Our sandbox environment simulates a real-time market where you can test your strategies or investing apps before you run them with real money. Alpaca's paper trading feature has also become popular around the world for schools and clubs to host trading competitions.

Margin trading and short selling

Trading on margin allows you to trade and hold securities with a value up to 4X intraday and up to 2X overnight of your account equity. Alpaca has thousands of easy-to-borrow (ETB) securities that are available for short selling.

Learn more →
Order

Advanced order types

Alpaca offers a robust suite of advanced order types including: Market, Limit, Stop, Stop Limit, Opening and Closing Auction, Bracket, One-Cancels-Other (OCO), One-Triggers-Other (OTO), and Trailing Stop.

Learn more →
Time extended

Extended hours trading

With Alpaca, you can trade outside of Regular Trading Hours with pre-market and after-hours orders. Currently, Alpaca supports pre-market of 4:00am - 9:30am ET and after-hours of 4:00pm - 8:00pm ET Monday to Friday.

Learn more →
business building

Business trading accounts available at Alpaca

Whether you're an individual or a business, you can open trading accounts at Alpaca. US Corporations and LLCs established by both U.S. and non-U.S. residents are supported with a $30,000 account minimum. Learn more about the account types that Alpaca offers.

Simple, Modern API

import alpaca_trade_api as tradeapi

api = tradeapi.REST('AKR09R521SWTPGN5YAUI',

'ijRiw9bHL1HuLpD0k9uxfW020DVJhayK5rpToN5v')

order = api.submit_order(

symbol='ALPACA',

qty=15,

type='limit',

side='buy',

limit_price=25.34,

time_in_force='day'

)

Explore API Docs
Community

Developer first, community focused

Join hundreds of thousands of traders and developers building on Alpaca APIs supported by active communities on Slack, Forum, and Github. SDKs are available in Python, .NET/C#, Go, Node, and more.

Trade bot

From hobby trading bot to embedded investing

You can build a hobby app and trading algorithms with ease. If you are a business, you can build a full-on broker-dealer service or embed investing features into your service. Voted for #1 API Broker, Alpaca APIs achieve 99.9% uptime and 1.5ms order processing time.

We’re here to help with a global support team

We provide support around the clock. Speak to a member of our support team anytime, from anywhere around the world.

Contact support

Buy, Sell, and Short US Stocks and ETFs

Invest in thousands of stocks and ETFs from $1.

Sign up for free