Skip to main content

Ally Invest API Wrapper

Project description

PyAlly Trading Library

WebsitePyPIPyPI - LicenseGitHub issuesCodacy Badge

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!

Version 1.1.2

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
  • Toplists
  • News

Note that parts of the news searching is broken. Ally's contractor who supplies information for news articles has had trouble suppling some information.

Planned Features

  • 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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyally-1.1.2.tar.gz (33.0 kB view hashes)

Uploaded source

Built Distribution

pyally-1.1.2-py3-none-any.whl (77.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page