03-26-2018, 07:36 AM
(03-25-2018, 02:33 PM)tommiehansen Wrote:(03-24-2018, 05:58 PM)donkykong017 Wrote: 1. done
2. ok well thats a bummer. will try with up to 3. it makes no sense to change the timeout, because if its queued it will not be faster anyways. on the other hand this should not be a problem with gekko itself as i can run 8 backtests at a time in parallel with other tools.
3.
4.
Resuming:
well thats awesome. just as i would have done it.
Error.
i found an issue on github that tries to solve that.
https://github.com/askmike/gekko/issues/2040
https://github.com/askmike/gekko/issues/1879
this could have something to do with the strat using tulib/talind. im using your "old" strat. will try updating to the new version with built in indicators.
Edit:
ok sry. it was obviously that. runs butter smooth now and 10 times faster than before. now i am just shaking my head over me.
btw i thought a little bit about reading the results of GAB and just to use the Strats with the best test results is not always the best way. as one should consider e.g sharpe ratio and other things.
wouldn't it be a good idea to somehow mix the listing of the best results that had good results (profit) and good sharpe ratio not just one of the two?
and i think it could also be a good idea to put in the slippage value as that allows you to get more realistic results to real trading.
Edit2:
to get the average from the best results i can only choose the best 99 tests. wouldn't it be good to have even more when we have more than 1000 or even 10000 tests done. what would you recommentd for average?
thanks
cheers
DK
1. Ok
2. If you can run 8x with other tools you can run 8x with this, all the tools uses the same thing (the localhost:3000/api/ endpoint). GAB doesn't really use any resources in itself and when you run the only thing taking resources is the AJAX stuff... but that's basically 0.
I still would watch the que though. My older laptop using a 4720HQ starts queing stuff up after around 3 threads and your newer is only about +14% faster.
3. Yes, the new version is faster. Don't create new versions for the fun of it. (except the last unpublished version that is more of a cleanup)
-
4. The 'best profit' is only one way to sort it. You got multiple ways of sorting the data like sorting it by Sharpe, Win% etc. Use the tool?
5. Slippage: Yes, more options would be good but i personally think the defaults for slippage is a good "worst case scenario" since the slippage and loss for each trade is usually qute a bit higher then at the less expensive exchanges.
Also adding slippade etc would make RUNS A incompatible with RUNS B since if you run with the same strategy, same params and same daterange but have different slippage these two will not be comparable any longer so each such change would create a new dataset.
6. Max 99: Yes, problem is that with many runs there will be a lot of junk runs; runs that simply wasn't that great anyway. I changed that now, new limit is 10,000. Do note that looping trough 10,000 of datapoints take longer time though since there will be more data to process etc.
How many results in the average depends, i find that 10 is usually a good value. It totally depends on how many successful runs one got in total.
2./3. yeah that seems to work. tried different strats and they all work. this definitely had something to do with the tulib talind indicators. but seems to be working great now.
4./6. yeah i got the sorting. i had some special cases where i tested other strats where i would like so take 2/3 values into account when sorting. but this should be solved when i can use more than 99 results. when i have 10000+ runs there should be lots more in consideration that could be very useful. instead with 99 there could be lots of results that never show e.g. when sorting with Strat profit there could be false positives (results with billions and trillions of profit) that i would like to avoid. a combination of Strat profit and sharpe could be a good idea.
5. ok got that. so is the default with backtesting the default from the UI (0.05)?
7. one thing that came to my mind with testing Strats that use Parameters in the 0.001 range: the average Strat parameters in the results view only shows whole numbers. more detailed views would be awesome there.
i will have to have a look at the new update though and will test there.
thx for the update
cheers
DK