delvtech / agent0

Analysis & simulation repo for Delv
https://agent0.readthedocs.io/en/latest/
Apache License 2.0
52 stars 21 forks source link

Updates to FullHyperdriveEnv in traiderdaive to fix stale references #1531

Closed wshainin closed 4 months ago

wshainin commented 4 months ago

Updates keys to reflect new schema changes. Updates observation step to handle an empty bot wallet on first iteration. Makes explicit which columns from pool_info to use in observation space. Changes reward calculation to change in pnl from t-1 -> t (for now).

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.59%. Comparing base (6772bae) to head (a555c66). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1531 +/- ## ========================================== + Coverage 81.17% 81.59% +0.42% ========================================== Files 98 98 Lines 7037 7037 ========================================== + Hits 5712 5742 +30 + Misses 1325 1295 -30 ``` | [Flag](https://app.codecov.io/gh/delvtech/agent0/pull/1531/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/delvtech/agent0/pull/1531/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | `81.59% <ø> (+0.42%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.