Comparison
alpaca-py vs dhanhq vs ibapi vs longbridge
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The Official Python SDK for Alpaca APIs
Actively maintained. Last release 4 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
$
pip install alpaca-pyThe official Python client for communicating with the DhanHQ API
Actively maintained. Last release 6 days ago. A safe choice.
$
pip install dhanhqOfficial Interactive Brokers API
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install ibapiA Python library for Longbridge Open API
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install longbridgeIn short
- ibapi looks abandoned: avoid it for new projects.
- alpaca-py is the most used: 1.4M downloads a month, 12× more than longbridge.
- Maintenance is comparable: longbridge 91, alpaca-py 87, dhanhq 82 on Pythie’s Index.
- longbridge is growing fastest: downloads +23% over the last month.
- Safe default for a new project: alpaca-py.
Side by side
| Metric | alpaca-py | dhanhq | ibapi | longbridge |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | 82 |