All important and notable changes will be documented here.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Changed the underlying streamer connection to use
aiocometdrather than our own, custom-rolled transport.
- The
time-in-forceandgtc-dateproperties to the OrderDetails object
- Example script now uses env vars for TastyWorks username/password instead of hard-coding values.
- The
rejectedorder status type
- Fixed bug with in the
Quotemapped item to support the new time fields - Removed the
timekey from theQuotemapped item - Fix bug for missing
pricefield in theOrdermodel
- Changed number formats to use decimal types instead of floats for predictable representations
- Fixed a bug which prevented orders from executing altogether... big one.
- The
underlying_symbolfield from theOrdermodel, this is not necessary and tastyworks does not have the symbol tied to an order; they are tied to individual legs of the order.
- Added a new, rewritten
get_option_chainmethod to theUnderlyingmodel, which is inherited by models likeStockand all other future representations of securities. - New
Securitymodel representing all securities (options and underlyings). - New
Underlyingmodel representing all underlyings (stocks, indices, ETFs). - New
OptionChainmodel which represents an option chain (a collection of options). This should make management of a list of related options (i.e. for a ticker) easier.
- The
get_option_chainsfunction from the TastyAPISession. - The
Modelmodel
- Option model to store information about individual option legs
- Ability to execute options successfully (the last missing bit was option legs)
- Added first set of unit tests.
- OrderDetails object to encapsulate order-specific details
- Internal changes and refactors to the orders model
- Re-architecture of the API modus operandi. Details in the README.md file.
- Moved the remote-fetching of objects (e.g. Order, TradingAccount) to their relevant object models.
- Trimmed down remote-fetching of objects from the TastyAPISession object, it is now a much more light-weight object.
NB: This is backwards-incompatible
- Class describing orders (Order)
- Ability to get existing account orders
- Class for trading accounts (TradingAccount)
- Changed the session creation code, please see the new example file