UNPKG

wstrade-api

Version:
35 lines (27 loc) 1.13 kB
v1.10.2 == * Add `all` as a supported value in index.d.ts for accounts.`history` interval v1.10.1 == * Minor documentation cleanup * Added examples for newer APIs in the `auth` and `data` modules v1.10.0 == * Added a new `on` handler for `refresh` events, called when the library automatically updates your access token and also when auth.`refresh()` is used. v1.9.0 == * Introduce data.`securityGroups` and data.`getSecurityGroup` APIs for looking up all security groups on Trade and also fetching the securities associated with them. v1.8.0 == * Support concurrency with a `Session` API. The codebase has been refactored to allow for concurrent usage where you can manage several Trade accounts! v1.7.1 == * Add `request` to package.json to force install it because `cloudscraper` requires it even though it's deprecated. v1.7.0 == * Integrated library (`cloudscraper`) that solves Cloudflare bot challenges for all WS endpoints. v1.6.0 == * Expanded support for the accounts.`activities` API, allowing for filtering of what activities to pull based on activity type (e.g., `buy`, `sell`) or open accounts (tfsa, rrsp, etc).