Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Cannot find sim_result.html #543

Closed
Bruttagente opened this issue Sep 12, 2017 · 9 comments
Closed

Cannot find sim_result.html #543

Bruttagente opened this issue Sep 12, 2017 · 9 comments
Labels

Comments

@Bruttagente
Copy link

As specified in the manual, I run a simulation but I cannot find the result html file in the simulations folder, even though the output says "wrote simulations/sim_result_gdax.BTC-EUR_170912_133536_UTC.html"
Where can I find it? Thank you

@Bruttagente
Copy link
Author

I don't know if it's related, but using the "train" function, it does not generate the trained_model_file.json in models folder. I've ran the function multiple times, the output says "Final model with results written to models/forex.model.............json" but there is nothing into the folder

@DeviaVir
Copy link
Owner

@Bruttagente how do you run the sim and train?

@Bruttagente
Copy link
Author

Bruttagente commented Sep 13, 2017

@DeviaVir I tried to run them with both PowerShell and Command prompt, with and without admin rights

@DeviaVir
Copy link
Owner

@Bruttagente what is the exact command you are running?

@Bruttagente
Copy link
Author

Bruttagente commented Sep 13, 2017

@DeviaVir I'm running these two commands:

docker run --rm --link zenbot_mongodb_1:mongodb -it zenbot_server ./zenbot.sh sim gdax.BTC-EUR --days 7 --strategy trend_ema --period=2m
docker run --rm --link zenbot_mongodb_1:mongodb -it zenbot_server ./zenbot.sh train gdax.BTC-EUR --days_training 60 --days_test 14

but even with other options, the file aren't created

@DeviaVir
Copy link
Owner

@Bruttagente that's because they are created inside the docker.

You can try it like this:

docker run --rm --link zenbot_mongodb_1:mongodb -it zenbot_server bash # or sh
$ ./zenbot.sh sim gdax.BTC-EUR --days 7 --strategy trend_ema --period=2m
$ cd wrote simulations/
$ ls -al

@Bruttagente
Copy link
Author

Bruttagente commented Sep 13, 2017

@DeviaVir ok, listing the simulations folder is returning the .html file, but how to have it in the zenbot folder under Windows?

edit: nevermind, I've found the docker "cp" function. Thank you!

@yellowcandle
Copy link
Contributor

@Bruttagente got the same problem here, and I don't know how to make the docker cp function work, care to explain please?

@DeviaVir
Copy link
Owner

Dear issue reporter,

We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit.

You can find it here: https://reddit.com/r/zenbot

This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case.

Thanks for contributing time and effort!

Greetings,
🤖

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants