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

Update .gitignore: Ignore models in models/subdirectories #1124

Closed
wants to merge 8 commits into from

Conversation

firepol
Copy link
Contributor

@firepol firepol commented Jan 13, 2018

Files produced and saved in the models folder have really super long names... I run many trainings and I have a huge amount of such files, so I move them into subfolders, e.g. by exchange, by currency. But they show up as new files in git. This little update to the .gitignore ignores the files also in the models subfolders, e.g. models/myfavorites/foo.json, foo.html etc.

firepol and others added 7 commits January 10, 2018 23:28
buy_max_amt was working only on live, now it works also on paper mode
Get rid of that annoying message. Telegram tested and working fine.
Previously the training was starting too early if --days_test was
specified. According to the parameter description, --days_test is a
parameter to specify when the simulation should stop (days after
training). The simulator wants the start and end date in this format:
YYYYMMDDhhmm, which was not the case, thus the simulator wasn't
running properly. Now if the user specifies dates it works properly.

Example: ./zenbot.sh train binance.ETH-BTC --start_training 2018-01-01
--end_training 2018-01-03 --days_test 3

In this example, the training stops on Jan 2nd (midnight).
The simulation test runs after the period used in the training, thus
begins on on Jan 3rd and stops 3 days later, on Jan 5th (midnight).
@defkev
Copy link
Contributor

defkev commented Jan 13, 2018

Consider using .git/info/exclude instead of .gitignore for personal stuff.

@DeviaVir
Copy link
Owner

0 changes?

@firepol
Copy link
Contributor Author

firepol commented Jan 14, 2018

0 changes? Mmh, strange I thought it picked up my .gitignore update... Sorry, I think I messed up something when comparing my fork with the official branch...

My change was in the .gitignore:

models/**/*.json
models/**/*.html

Instead of:

models/*.json
models/*.html

Anyway as defkev suggested, if this is considered "personal" I guess you'd not not approve the change anyway. I'll close this.

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

Successfully merging this pull request may close these issues.

3 participants