Basana

Latest version: v1.7.1

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

Scan your dependencies

Page 1 of 3

1.7.1

Bug fixes

* No event was generated when a backtesting order got canceled.

1.7

Features

* Added support for Binance order and user data events via websockets.
* Added support for backtesting order events.
* Added loan ids to order info.

Bug fixes

* `bitstamp.orders.Order.amount` was returning the order amount left to be executed instead of the original amount.

Misc

* Updated dependencies and minimum Python version.

1.6.2

Bug fixes

* `VolumeShareImpact.calculate_price` and `VolumeShareImpact.calculate_amount` were failing when there was no available liquidity.

1.6.1

Bug fixes

* Ignore events scheduled after the last event is procesed.

1.6

Features

* Support for borrowing funds and opening short positions with the backtesting exchange.

Bug fixes

* [Parse BOM when opening CSV files and set the encoding appropriately](https://github.com/gbeced/basana/issues/36)
* [Stop subtracting microseconds in RowParser](https://github.com/gbeced/basana/issues/37)

1.5.0

* `basana.backtesting.fees.Percentage` now supports a minimum fee.

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.