tda-api

A TD Ameritrade API client for Python. Includes historical data for equities and ETFs, options chains, streaming order book data, complex order construction, and more.

MIT License

Downloads
1.9K
Stars
1.3K
Committers
23

Bot releases are hidden (Show)

tda-api - 1.6.0 Latest Release

Published by alexgolec over 2 years ago

New Features

  • Accepts verbose version of contract type in option symbol generator (#306)
  • Updates default timeout for HTTP requests to 30 seconds and provides convenient timeout setting (#315)

Bug Fixes

  • Fixed misnamed strike range names for options change (#314)

Deprecations

  • None
tda-api - 1.5.3

Published by alexgolec over 2 years ago

New Features

  • Client creation helper methods in auth now support passing enforce_enums

Bug Fixes

  • None

Deprecations

  • None
tda-api - 1.5.2

Published by alexgolec over 2 years ago

New Features

  • Switches to lazy evaluation on all log messages. Potentially major performance improvement for applications which don't enable tda-api logging.

Bug Fixes

  • None

Deprecations

  • None
tda-api - 1.5.1

Published by alexgolec over 2 years ago

New Features

  • Adds support for need_extended_hours_data to the time interval shortcut functions

Bug Fixes

  • None

Deprecations

  • None
tda-api - 1.5.0

Published by alexgolec almost 3 years ago

New Features

  • Adds unsubscribe commands to all supported streams (#256). Big thanks for @httran13 for implementing this change!
  • Adds support for passing additional parameters to websocket creation, such as for timeout management (#278)
  • Issues a warning when passing in an API key suffix, hopefully resolving an influx of help requests to the Discord server (#280)

Bug Fixes

  • None

Deprecations

  • None
tda-api - 1.4.1

Published by alexgolec almost 3 years ago

New Features

  • None

Bug Fixes

  • Removes requirement for an old version of httpx due to version incompatibilities.

Deprecations

  • None
tda-api - 1.4.0

Published by alexgolec about 3 years ago

New Features

  • Adds helper utilities for fetching price histories.

Bug Fixes

  • None

Deprecations

  • None
tda-api - v1.3.7

Published by alexgolec about 3 years ago

New Features

  • None

Bug Fixes

Deprecations

  • None
tda-api - v.1.3.6

Published by alexgolec about 3 years ago

New Features

  • None

Bug Fixes

  • #205: Uses 1971 as the default from date instead of 1900

Deprecations

  • None
tda-api - 1.3.5

Published by alexgolec about 3 years ago

New Features

  • None

Bug Fixes

  • #245: The asynchronous OAuth2Client requires an asynchronous update_token function, but we were always passing the synchronous version, causing the async client to crash on token refresh.

Deprecations

  • None
tda-api - 1.3.4

Published by alexgolec over 3 years ago

New Features

  • None

Bug Fixes

  • [Re-done because I made a mistake last time] Due to an apparent bug (https://github.com/lepture/authlib/issues/358), httpx==0.18.2 fails to pass authorization headers. This pins us to httpx==0.18.1 until this is clarified/resolved.

Deprecations

  • None
tda-api - 1.3.3

Published by alexgolec over 3 years ago

New Features

  • None

Bug Fixes

Deprecations

  • None
tda-api - 1.3.2

Published by alexgolec over 3 years ago

New Features

  • None

Bug Fixes

  • For real this time: Adds forgotten autopep8 dependency, needed for code generation introduced in 1.3.0

Deprecations

  • None
tda-api - 1.3.1

Published by alexgolec over 3 years ago

New Features

  • None

Bug Fixes

  • Adds forgotten autopep8 dependency, needed for code generation introduced in 1.3.0

Deprecations

  • None
tda-api - 1.3.0

Published by alexgolec over 3 years ago

New Features

  • Adds functionality that generates code from historical order JSON objects, as fetched by the get_orders family of methods
  • Adds a script that emits code that would have generated the most recently-placed order.

Bug Fixes

  • None

Deprecations

  • None
tda-api - 1.2.2

Published by alexgolec over 3 years ago

New Features

  • websockets version 9.0.0+ is now a hard dependency due to recent API changes on their end.

Bug Fixes

  • Fixes #215, in which websockets 9.0.0+ was not supported.

Deprecations
None

tda-api - 1.2.1

Published by alexgolec over 3 years ago

New Features

  • Adds support for closing the underlying session of the asynchronous client. Documentation and examples have also bee updated.
  • Removed the deprecated strike_from_date and strike_to_date parameters to get_option_chain

Bug Fixes

  • None

Deprecations
None

tda-api - 1.2.0

Published by alexgolec over 3 years ago

New Features

  • Adds support for custom JSON decoders, along with the beginnings of a contrib module to capture community-created decoders
  • Emit a descriptive error message when composite orders are passed responses instead of order builders

Bug Fixes

  • Require a token write function in client_from_access_functions

Deprecations
None

tda-api - 1.1.8

Published by alexgolec over 3 years ago

New Features

  • Enum enforcement error messages now emits suggestions when passed strings instead of enums (#192)
  • Adds more logging throughout the auth module (#194)

Bug Fixes

  • Migrate the manual flow to use the prompt toolkit to avoid OS-specific installation errors (#178)

Deprecations
None

tda-api - 1.1.7

Published by alexgolec over 3 years ago

New Features
None

Bug Fixes

  • Fixed logging into streaming when using the asynchronous client (#185)

Deprecations
None

Package Rankings
Top 4.84% on Pypi.org