Releases: jbertovic/tdameritradeclient
Releases · jbertovic/tdameritradeclient
v0.4.5
- (BREAKING CHANGE) all reqests (get, post, put, patch and delete) will now return
Result<T, TDAClientError>instead of justT - Added library errors
crate::error - Removed all expect and unwrap on requests from
TDAClient - updated option chain model
- cleaned up code with
cargo clippyandcargo fmt
v0.4.4
- Added visibility to
auth::TDauthfromTDAClientAuth. Easier to manage when running library from a server - Added error checking in
auth::TDauth - Able to now initialize
TDAClientAuthwithauth::TDauth - Refactoring in both
auth::TDauthandTDAClientAuth, including a couple of bug fixes - Added new models: PriceHistory, Quotes and modified Account model
- Doc corrections
v0.4.3
v0.4.2
v0.4.1
v0.4.0
- Major change in approach of making requests. Requests are now made from an enum of endpoints instead of individual unique functions on client for each endpoint.
- added generic requests on client;
get,post,put,patchanddelete - removed endpoint funtions from
TDClientwhich will prevent backward compatibility to version 0.3 - caputured endpoints in
requestmodule - updated documentation, examples, and tests with new approach
- added model types for
SecuritiesAccountandUserPrincipalsresponse
v0.3.1
v0.3.0
Changes include:
- refactored how parameters were used in queries
- renaming functions to Rust standards
- adding account module and struct #17 and #20 from @Epictetzu
- created additional examples and fixed optionchain.rs example
- document cleanup
Please note that the function names have been changed from v0.2 and will need updating if you are using this library in your own projects.
v0.2.2
v0.2.1
- added expect() on any unwraps for error panic messages
- able to refresh the refresh token - added bool: new_fromrefresh(refresh: &str, clientid: &str, refreshupdate: bool)
- getter method to retrieve tokens: gettokens(&self) -> (&str, &str)
- convenience method to get updated refresh token: getrefresh_fromrefresh(refresh: &str, clientid: &str)