Skip to content

Add a random trade to the beginning of an episode to vary initial conditions#62

Open
wshainin wants to merge 2 commits intomainfrom
wshainin/random-init-bots
Open

Add a random trade to the beginning of an episode to vary initial conditions#62
wshainin wants to merge 2 commits intomainfrom
wshainin/random-init-bots

Conversation

@wshainin
Copy link
Copy Markdown
Contributor

@wshainin wshainin commented Nov 1, 2024

If reset_with_random_trades is True in the config, use a random bot to make a short or long, then add liquidity, then close the position.
Allows the state to vary at the beginning of an episode (when reset() is called).

@wshainin wshainin enabled auto-merge (squash) November 1, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant