Qf-lib

Latest version: v4.0.1

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

Scan your dependencies

Page 2 of 4

2.2.8

New features and fixes:

- Added index visibility, style and class in DFTable
- Supporting Bloomberg tickers with special characters in `HAPI data provider`
- Added unit tests for `HAPI data provider`
- `StrategyMonitoringDocument` - cleaning up returns and excess returns

2.2.7

New features and fixes:

- Added `HAPI` identifier type
- Added `parser tests` with `ISIN`

2.2.6

New features and fixes:

- Changed `TradingSession` instance variable `orders_filters`, now initialized as empty list
- Changed pd date range keyword in `compute_duration`, class `PortfolioAnalysisSheet`
- Added new class `IBFIGItoIBContractMapper`, which is mapper that can be used to map FIGI defined IB contracts to the more specific ones.
- Added more parameters for `chart` and `ChartElement`, such as `savefig_settings`


Backwards incompatible changes:
- Changed SecurityType parameter for classes `SecurityType` and `IBContract`, from `CONFUT` to `CONTFUT`
- Eliminated from `price_field_to_str_map` the parameter `ticker` in all data providers

2.2.5

New features and fixes:

- Updated `IB Broker` update to support data requests parsing
- Updated `document` parameter from the generate_html method to `Optional`
- Replaced `frame.append` method to `pandas.concat` in `HistoricalDataProvider`
- Replaced `.iteritems` to `.items` in `excel_exporter.py`
- Replaced `union_many` with union
- Added type checks to `convert_to_list` function
- Added unit tests as `TestToListConversion` for the `convert_to_list` function
- Added `pie chart` variant to the available charts
- Added support for `MultiIndex `formatting in the `DFTables`
- Added new `SecurityType` - `CONFUT`
- Fixed `convert_to_list` usage in `PresetDataProvider`
- Fixed pandas Future Warning in the `FuturesChain` class
- Fixed Future Warnings for `get_loc` function

Backwards incompatible changes:

- `BloombergBeapHapiParser` now accepts a new parameter `tickers_mapping`

2.2.4

New features and fixes:
- Support `exclude_weekends` for `PeriodicEvent` for `CalculateAndPlaceOrdersPeriodicEvent`
- Fixed aggregation of bars in the `PresetDataProvider`
- Fixed `company_name` in settings JSON file
- Added terminal identity to the settings
- `BloombergBeapHapiRequestsProvider` accepts now optional parameter `terminal_identity_sn`
- Abstract documents do not require logo paths and company name
- Fixed non alphanumeric fields and tickers universe creation

Backwards incompatible changes:
- `_PeriodicRegularEvent` accepts now `run_on_weekends` boolean as parameter

2.2.3

New features and fixes:
- Added currency parameter to `BloombergBeapHapiDataProvider`
- `get_tickers_universe` in `BloombergDataProvider` supports now historical dates
- `EmailPublisher`: `mail_to`, `bcc` and `cc` work now for a single string instead of requiring a list of strings
- introduced `BinanceAccountSettings` class
- `Settings` do not require any parameters to be initialized correctly

Backwards incompatible changes:
- `BinanceBroker` accepts now `BinanceAccountSettings` instead of `Settings`
- Removed data_provider form the constructor of `BacktestTradingSessionBuilder`

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.