delvtech / agent0

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

Various fixes and features for rl bots training #1607

Closed slundqui closed 4 months ago

slundqui commented 4 months ago

This PR adds various changes to support rl bots training. Some of these changes helps take a step in allowing async trades in agent0, such that multiple transactions can be submitted on the same block.

Breaking changes

Changes

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 86.18421% with 21 lines in your changes missing coverage. Please review.

Project coverage is 81.05%. Comparing base (378a3fd) to head (e7f7e33). Report is 84 commits behind head on main.

Files with missing lines Patch % Lines
...t0/core/hyperdrive/interactive/hyperdrive_agent.py 79.72% 15 Missing :warning:
...e/hyperdrive/interactive/local_hyperdrive_agent.py 91.30% 4 Missing :warning:
...yperdrive/interactive/exec/execute_agent_trades.py 77.77% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1607 +/- ## ========================================== + Coverage 81.02% 81.05% +0.02% ========================================== Files 98 98 Lines 7289 7295 +6 ========================================== + Hits 5906 5913 +7 + Misses 1383 1382 -1 ``` | [Flag](https://app.codecov.io/gh/delvtech/agent0/pull/1607/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/1607/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | `81.05% <86.18%> (+0.02%)` | :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.