Ally Invest API Wrapper
PyAlly Trading Library
Take control of your Ally bank finances through Python. Buy stocks and options in an instant, and stay up-to-date with your investments.
Ally Bank's investment platform is perfect for smaller investors who value a mature web/mobile interface, and low brokerage fees. I made this wrapper so that I could more easily integrate the platform with Python, and reduce the need for human oversight on my account.
After setting up API keys, PyAlly can provide the basic/essential Ally brokerage transaction functions from a simple python request.
Make sure to read the docs!
The lastest redesign preserves many features of the old interface, and incorporates a few new ones. Version 1.0 has been designed around a simple interface which should make modifying orders easier, and many operations more pythonic. Please note that this version breaks compatibility with all V0.X.X.
- Added pythonic methods for manipulating account watchlists
- Added quote streaming support
- Added rate limit functionality
- Simplified account operation methods
- Intelligent rate limiting
- Many new order operations. Orders can now be modified or cancelled in an intuitive way
- Option searching
Note that parts of the news searching is broken. Ally's contractor who supplies information for news articles has had trouble suppling some information.
- Multi-leg orders
Message me on Github or send an email if you enjoyed the project or thought it could be improved. I do my best to code with quality but sometimes it is easier said than done. Anyone with an interest with an eye for detail is welcome to contribute.
If you're dying to buy me a beer, I accept venmo at @alienbrett. That said, feel no obligation; this is free software and it's here for you to use.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.