ClementPerroud / Gym-Trading-Env

A simple, easy, customizable Gymnasium environment for trading.
https://gym-trading-env.readthedocs.io/
MIT License
304 stars 66 forks source link

Hold position #19

Open kargarisaac opened 5 months ago

kargarisaac commented 5 months ago

Hello, Thank you for the awesome environment. I have a question. I'm trying to understand what should I consider as positions if I want to sell all my portfolio to have all USD, buy all BTC, or do nothing each timestep.

Dante-Berth commented 3 months ago

Hello, Buy all BTC means 1 because 1 means 100% while selling all your btc means -1. Besides, if you want to buy two times your portfolio value in BTC your action is 2. "do nothing" means 0.