Proposal: add a weight-based trading environment with composite reward shaping #1415
Unanswered
anarlavrenov
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi guys,
I've built a custom Gymnasium-compatible crypto trading environment that I think could be a useful addition to FinRL's environment collection, and I'd love to hear whether it fits the project's direction.
Core idea. In short, the environment handles rebalancing internally, computes transaction costs asymmetrically for buys and sells, and clips infeasible trades against available cash and holdings.
Reward function. Composite shaping designed to balance profitability and risk-aware behavior:
Observation space. Normalized cash ratio, log price-change, externally standardized technical indicators, current coin weight, and buy/sell capacities - all in stable numerical ranges.
The environment follows the Gymnasium API .
Please visit my repo https://github.com/anarlavrenov/TradeNinja to look through implementation. The description is not in English but I believe it won't be the blocker.
Please let me know guys if you have any questions
All reactions