notadamking / Stock-Trading-Visualization

A simple, yet elegant visualization of our stock trading RL agent environment.
MIT License
212 stars 110 forks source link

RuntimeWarning: invalid value encountered in double_scalars #6

Open TashinAhmed opened 3 years ago

TashinAhmed commented 3 years ago

I am having this issue... Updated to stable_baseline3 and mplfinance and changed the imports according to the new package versions.

Stock-Trading-Visualization/env/StockTradingEnv.py:97: RuntimeWarning: invalid value encountered in double_scalars self.cost_basis = (

| time/ | | | fps | 400 | | iterations | 1 | | time_elapsed | 5 | | total_timesteps | 2048 |

everyonehatesLin3lis commented 1 year ago

Same here @TashinAhmed