- Add
allas a supported value in index.d.ts for accounts.historyinterval
- Minor documentation cleanup
- Added examples for newer APIs in the
authanddatamodules
- Added a new
onhandler forrefreshevents, called when the library automatically updates your access token and also when auth.refresh()is used.
- Introduce data.
securityGroupsand data.getSecurityGroupAPIs for looking up all security groups on Trade and also fetching the securities associated with them.
- Support concurrency with a
SessionAPI. The codebase has been refactored to allow for concurrent usage where you can manage several Trade accounts!
- Add
requestto package.json to force install it becausecloudscraperrequires it even though it's deprecated.
- Integrated library (
cloudscraper) that solves Cloudflare bot challenges for all WS endpoints.
- Expanded support for the accounts.
activitiesAPI, allowing for filtering of what activities to pull based on activity type (e.g.,buy,sell) or open accounts (tfsa, rrsp, etc).