Driftpy

Latest version: v0.7.55

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

Scan your dependencies

Page 3 of 6

0.7.34

Refactor oracle switching & tests

Fix bug in `MarketMap` where a subscription would not be properly established

0.7.33

Fix `IndexError` vs `KeyError` bug in `CachedDriftClientAccountSubscriber.get_oracle_price_data_and_slot()`

Sort market indexes in `CachedDriftClientAccountSubscriber` before populating cache

Merge PR 116: Update div_ceil to use integer division isntead of float division

Merge PR 117: Allows for the Jupiter V6 Swap API url to be configured

0.7.32

Add guardrails to avoid `CachedDriftClientAccountSubscriber` panicking on cache fetch `IndexError`s

Add `perp_market_indexes`, `spot_market_indexes`, `oracle_infos`, `should_find_all_markets_and_oracles` to `CachedDriftClientAccountSubscriber`

Add `stack_trace()` utility function

0.7.31

Fix bug where `DriftClient.unsubscribe()` scheduled tasks on an already-running event loop

0.7.30

Add support for hot-swapping oracles without SDK dying

Add custom event parsing in events/parse.py

0.7.29

Fix bug where `DriftClient.unsubscribe()` wasn't properly awaited

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.