Comments (6)
I suggest you to downgrade your gymnasium version to the one I used when I created the env
from gym-trading-env.
I have done it. I have downgraded the gymnasium version to 0.28.1. The user warning error is not coming any more. how ever the web page is still showing blank.
Following error I am getting in spyder
from gym-trading-env.
I have done it. I have downgraded the gymnasium version to 0.28.1. The user warning error is not coming any more. how ever the web page is still showing blank. Following error I am getting in spyder
Your dataframe index obviously isn't a Timestamp index.
from gym-trading-env.
No my data frame index is in timestamps cause I am getting the result like market return portfolio return. Only the renderer is not working.
from gym-trading-env.
No my data frame index is in timestamps cause I am getting the result like market return portfolio return. Only the renderer is not working.
I tried the renderer yesterday and it works! You have to debug it by yourself, what @ClementPerroud is calling there is this function: https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.strftime.html#pandas.Timestamp.strftime So if your dataframe has a timestamp index it would be definitely available.
from gym-trading-env.
@RitwikGhoshLives I ran into the same issue, I think it depends what kind of Index pandas creates. I replaced the line with:
df['date_str'] = [d.strftime("%Y-%m-%d %H:%M") for d in df.index]
This way it works always.
from gym-trading-env.
Related Issues (16)
- Dependency conflict with tensorflow 2.12 because of numpy>=1.24.2 requirement HOT 4
- _get_obs
- Don't terminate on warnings HOT 1
- Suggestion create a standalone portfolio class that is not fed with info by the enviornment
- Can you include training / inference example in the repo?
- Warning Message when using check env
- Hold position HOT 1
- Feature proposal: batch_size arg for the download function HOT 6
- pararell enviroments on Windows raise overflow error " Python int too large to convert to C long "
- Agents HOT 17
- How to keep a position? HOT 1
- How does evn connect to Binance for actual transactions HOT 7
- MultiDatasetTradingEnv - Look ahead issue? HOT 1
- Minor multi dataset bug in environments.py HOT 1
- the first example just can not run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gym-trading-env.