Driftpy

Latest version: v0.7.55

Safety actively analyzes 638884 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

0.7.20

Add `determine_maker_and_taker` and `find_crossing_resting_limit_orders` to `DLOB`

Fix bugs with lambda functions in `DLOB`

Add `get_settle_perp_ixs`, `get_fill_perp_order_ix` `get_revert_fill_ix`, `get_trigger_order_ix`, `force_cancel_orders`, and `get_force_cancel_orders_ix` to `DriftClient`

Fix bugs in `amm.py`

Fix bugs in `exchange_status.py`

Update funding calculations in `funding.py/calculate_all_estimated_funding_rate`

Increase RPC timeout in `PriorityFeeSubscriber.load()` from 5 to 20 seconds

Increase RPC timeout in `UserMap.sync()` from 10 to 30 seconds

Fix bug with python versions > 3.10 with mutable default struct fields in `types.py/OrderParams`

Several semantics changes throughout the codebase

0.7.19

Add `FastTxSender`

0.7.18

Minor tweaks to `UserMap`

0.7.17

Refactor math entirely to align more closely with TypeScript SDK

Add some math functions to `orders.py`, `amm.py`, and `oracles.py`

Update casing conventions for `ExchangeStatus`

Add `find_nodes_to_trigger()` to `dlob.py`

Add `get_slot()` to `user_map.py`

0.7.15

Fix bug where `PriorityFeeSubscriber.subscribe()` blocks

0.7.14

Add `PriorityFeeSubscriber`

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.