Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant changes to the
tau_strategy
examples, theDefaultHedgeEntity
in the core entities, and various loaders for Uniswap V3 data. The most important changes include the addition of new files and methods to support the TauResetStrategy, updates to the Default Hedge entity, and enhancements to the Uniswap V3 loaders.Tau Strategy Enhancements:
examples/tau_strategy/tau_pipeline.py
: Added a new file to define the pipeline for the TauResetStrategy, including MLFlow and Experiment configurations.examples/tau_strategy/tau_strategy.py
: Added a new file to define the TauResetStrategy, including methods to build observations and run the strategy.Default Hedge Entity:
fractal/core/entities/default_hedge.py
: Added a new file to define the Default Hedge entity, including initialization, state management, and action methods for opening/closing positions and calculating funding fees.Uniswap V3 Loader Enhancements:
fractal/loaders/thegraph/uniswap_v3/uniswap_loader.py
: Added a new base loader class for Uniswap V3, including a method to get pool token decimals.fractal/loaders/thegraph/uniswap_v3/uniswap_v3_arbitrum.py
: Updated to inherit from the newUniswapV3Loader
base class and modified theget_pool_decimals
method. [1] [2]fractal/loaders/thegraph/uniswap_v3/uniswap_v3_ethereum.py
: Updated to inherit from the newUniswapV3Loader
base class and added a method to get pool token decimals. [1] [2]Other Changes:
fractal/core/entities/uniswap_v3_lp.py
: Updated various methods to remove unnecessary returns and adjust the calculation of position amounts. [1] [2] [3] [4] [5] [6]fractal/loaders/base_loader.py
: Modified the initialization to use an environment variable for the base path and updated the_read
method to set the_data
attribute. [1] [2]fractal/loaders/thegraph/uniswap_v3/__init__.py
: Added new loaders for Ethereum pool minute data and Ethereum prices. [1] [2]Checklist:
dev
branch