Trading-strategy

Latest version: v0.24.4

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

Scan your dependencies

Page 6 of 23

0.20.11

- Add: `LendingReserveUniverse.limit_to_assets()`
- Add: `filter_for_trading_fee(pairs_dataframe)`
- Internal change: Add more asserts to `Universe` creation to catch human mistakes early
- API change: `get_by_chain_and_symbol()` raises `UnknownLendingReserve` instead of returning `None`
- Add more asserts to `Universe` creation to catch human mistakes early

0.20.10

- Remove duplicate timestamp label on visualisation

0.20.9

- Add: `DEXPair.get_link()` to get a direct link to the trading pair page
- Add: `LendingReserve.get_link()` to get a direct link to the trading pair page
- Add: `DEXPair.is_tradeable()` for quick checks if a pair has decent volume
- Add: `PandasPairUniverse.get_exchange_for_pair()`
- Add: `LendingMetricUniverse.get_single_value()`
- Add: Aave Ghost (GHST) stablecoin
- Add: Jarvis Synthetic Euro (jEUR) stablecoin
- Add: `format_links_for_html_output()` helper to work with `DataFrame` objects
- API update: `get_pair_by_human_description()` can have exchange slug set to `None`
matching the best trading pair across with the lowest fee across all DEXes
- API update: `get_closest_pair(pair)` can now now take `DEXPair` instead of a primary key
as a lookup parameter and also display the pair name in error message
- Various exception message improvements
- Remove duplicate timestamp from candle labels

0.20.8

- Add: Progress bar to lending rate download
- Fix: JSONL download progress bar was missing the last refresh, leaving the progress bar a bit under 100%
- Use `tqdm_loggable` package everywhere to have more control over progress bars

0.20.6

- Multiple API changes to make working with lending easier
- Lending universe construction examples
- Add: `filter_for_base_tokens()`
- Add: `filter_for_chain()`
- Add: `DEXPair.get_base_token()` and `DEXPair.get_quote_token()`
- Add: `LendingReserveUniverse.can_leverage(token)`
- Add: `LendingReserveUniverse.limit_to_chain()`
- API update: Make all `Universe` members optional, as we can have lending only universes
- API update: `get_rates_by_reserve()` can take a lending reserve object as an argument
- API update: `Universe` checks constructor argument types are correct
- Deprecate: Useless methods on `Universe`

0.20.5

- Add concurrent write control to `CachedHTTPTransport` to allow
multiple processes to write the same cached download file on the same system
- Enable parallel tests

Page 6 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.