Qf-lib

Latest version: v3.0.0

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

Scan your dependencies

Page 3 of 3

1.1.0beta

New Features and Improvements
* Added new data provider, which uses the Bloomberg Enterprise Access Point (BEAP) HAPI
* Created `AbstractStrategy` and unified the `AlphaModelStrategy` execution
* Added `time_in_force` parameter to `size_signals` function in the `PositionSizer` class
* Added `time_in_force` parameter to `AlphaModelStrategy.__init__` function
* Created `OnBeforeMarketOpenSignalGeneration` wrapper, to facilitate the subscription process of a given Strategy to the `BeforeMarketOpenEvent`
* `AlphaModels` accept now `DataProviders` , `current_time` and `frequency` parameters were added to the `get_signal` function

Bug fixes
* Fixed the commissions computation in case if the volume of the fill (transaction) differed from corresponding orders volume

Backwards-incompatible changes
* Removed the `on_before_market_open` function from `AlphaModelStrategy` and removed the default subscription event (from now on, in order to preserve the previous behaviour, the `OnBeforeMarketOpenSignalGeneration` wrapper should be used along with the strategy)
* Removed `get_current_bar` and `get_current_prices` from `DataHandler`
* Changed the behaviour of `get_price` in `DataHandler` in case if the Open price is already available
* Moved `get_last_available_price` and `historical_price` to `DataProvider`
* `Signal.last_available_price` is not optional anymore, a required `Signal.creation_time` parameter was added

1.0.0beta

New Features and Improvements

* Added a new tearsheet document (`qf_lib.analysis.tearsheets.tearsheet_comparative.TearsheetComparative`)
* Added tools for backtest overfitting analysis (`qf_lib.analysis.backtests_overfitting.backtests_overfitting.BacktestOverfittingSheet`)
* Added tools for exposure analysis (`qf_lib.analysis.exposure_analysis.exposure_sheet .ExposureSheet`)
* Added tools for signals analysis containing various candlestick charts (`qf_lib.analysis.signals_analysis.signals_plotter.SignalsPlotter`)
* Added tools for PnL computation (`qf_lib.analysis.strategy_monitoring.pnl_calculator.PnLCalculator`)
* Added a new type of Alpha Model, which facilitates the use of futures contracts (`qf_lib.backtesting.alpha_model.futures_model.FuturesModel`)
* Some improvements to the performance of `BloombergDataProvider`
* Added the possibility of settings an expiration hour for `FutureTicker`s (`set_expiration_hour`)
* Added `ListElement` class, to support lists in PDF documents
* Added `CandlestickChart`
* Added `FillBetweenDecorator`
* Added `UnderwaterDecorator` as a substituion for `UnderwaterChart`

Bug fixes

* Many fixes to the documentation and docstrings

Backwards-incompatible changes
* Migrated to python 3.9
* Removed `UnderwaterChart`

1.0.0alpha

QF-Lib for python 3.6: initial public release.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.