Code Monkey home page Code Monkey logo

Comments (9)

Hsgngr avatar Hsgngr commented on May 30, 2024 1

Hi When I run the following code: pip install gym The following error occurs: Installing collected packages: cloudpickle, gym ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/nasrin/freqtrade/.env/lib/python3.8/site-packages/cloudpickle' Check the permissions.

run sudo pip install gym

from freqtrade-gym.

Payback80 avatar Payback80 commented on May 30, 2024

Oh sorry another question, can the model.zip used with a strongly correlated pair?

from freqtrade-gym.

hugocen avatar hugocen commented on May 30, 2024

in freqtradegym.py why obs = np.array([ # row.open, # row.high, # row.low, # row.close, # row.volume,

My idea is combining with multiple data source(different type of crypto) to gain more data to simulate the trading environment in order to train a more robust agent , so I only use normalized features which can cross different markets.
Maybe this isn't the right way to do so you can change these features by your desire.

in IndicatorforRL.py there are still the buying and selling conditions, are there for compatibility issues or for what?

Yes, it is for the compatibility issues.

the reward parameters, this drives me to ask: Is the profit the objective function?

Yes, of course. The win/loss condition is to make sure that each training episodes won't take too long.

is timerange the observation space?

Yes

If yes simulate_lenght are the Max_Episodes trained ONTO the timerange? Am i right? So regarding yours example in 15mins timeframe are 200 15min timesteps?

Well, not exactly. For each simulation I randomly select an entry point in the observation space.
So not each episodes got exactly 200 steps.

Do you mind switch to rllib?

Sure, I will find some time to take a look into the lib and come up with an example.

can the model.zip used with a strongly correlated pair?

I can't say for sure, but you can do some paper trading to find out.

from freqtrade-gym.

hugocen avatar hugocen commented on May 30, 2024

@Payback80 I have updated an basic example for rllib.
And I am working on how to load the rllib trained model.

from freqtrade-gym.

Payback80 avatar Payback80 commented on May 30, 2024

ehy that's great! I've worked hard on RL in the past year, if you like we can exchange ideas

from freqtrade-gym.

hugocen avatar hugocen commented on May 30, 2024

Surer, my email is:
[email protected]
feel free to contact me.
but I'm not an RL expert though.

from freqtrade-gym.

Hsgngr avatar Hsgngr commented on May 30, 2024

If yes simulate_lenght are the Max_Episodes trained ONTO the timerange? Am i right? So regarding yours example in 15mins timeframe are 200 15min timesteps?

I am still curious about this:

There are 10 days in the example config_rl.json from 2020/11/20 to 2020/11/30

10 days * 24 *hours * 4 (15min intervals) = 960 steps. I feel like 200 steps are really less (50 hours/ 2 days). I think 1 week might be a better select.

Well, not exactly. For each simulation I randomly select an entry point in the observation space.
So not each episodes got exactly 200 steps.

Can you explain why do you enter randomly, is it because of the risk of overfitting ?

from freqtrade-gym.

Payback80 avatar Payback80 commented on May 30, 2024

any advancement on rllib?

from freqtrade-gym.

nasrin-kh avatar nasrin-kh commented on May 30, 2024

Hi
When I run the following code:
pip install gym
The following error occurs:
Installing collected packages: cloudpickle, gym
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/nasrin/freqtrade/.env/lib/python3.8/site-packages/cloudpickle'
Check the permissions.

from freqtrade-gym.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.