What's Changed
- Added missing:
used_derivative_buying_power
data field by @JBlohm in #210. This allows you to calculate buying power usage in the same way Tasty does it. This can be accessed asAccountBalance.used_derivative_buying_power
andAccountBalanceSnapshot.used_derivative_buying_power
. - add streamer refresh interval by @Graeme22 in #212, many thanks to @bonkzwonil for opening #211!
Previously, the dubiously named "acceptAggregationPeriod" parameter to newly created DXLink channels was hardcoded to 10 seconds. This resulted in events like Quote being updated only once every 10 seconds, a far cry from live streaming! Now this value is adjustable as a new parameter toDXLinkStreamer
, but it defaults to 0.1 which should be close to live for most use cases.
Example usage:
streamer = await DXLinkStreamer(session, refresh_interval=5)
Since the new default is 0.1, most users should immediately see a benefit without making any changes at all.
New Contributors
Full Changelog: v9.8...v9.9