04-01-2018, 07:28 PM
thanx for answer, problem was realy with timeouts,
fastcgi_read_timeout 600;
in nginx solve the problem.
fastcgi_read_timeout 600;
in nginx solve the problem.
[SHARE] GAB - Gekko Automated Backtests
|
04-01-2018, 07:28 PM
thanx for answer, problem was realy with timeouts,
fastcgi_read_timeout 600; in nginx solve the problem.
04-02-2018, 12:49 AM
04-02-2018, 01:09 AM
(03-27-2018, 07:58 PM)donkykong017 Wrote:(03-27-2018, 05:01 PM)fablerII Wrote:(03-27-2018, 08:11 AM)donkykong017 Wrote:(03-26-2018, 05:19 PM)tommiehansen Wrote: Oh... Why don't you run your backtesting on your work computer? Add '/' to the conf.php. So this: $base_url = $protocol . $domain . substr(__DIR__, strlen($_SERVER[ 'DOCUMENT_ROOT' ])); Looks like: $base_url = $protocol . $domain . '/' . substr(__DIR__, strlen($_SERVER[ 'DOCUMENT_ROOT' ]));
04-02-2018, 02:07 AM
(04-02-2018, 01:09 AM)gekko2yuno Wrote: Add '/' to the conf.php. A terrible solution since everyone using a port (as you really should @ localhost) would then have double slashes. Added a check for trailing slash for $domain though so it's added only if needed, it's in the last version @ Github.
04-02-2018, 02:11 AM
Updates
1. Added date range selection for the 'Run strategy part' + light validation etc 2. Added check for trailing slash for $domain @ conf.php for people using odd setups causing bad uri's 3. Made the menu more 'fun' 4. Couple of other fixes, see: https://github.com/tommiehansen/gab/commits/master for commit history Download/update git pull https://github.com/tommiehansen/gab.git For conflicting versions (you've edited the core files or whatever) copy+paste your current GAB-folder, rename it and git pull the latest verison and then add back the results-folder to keep results (if you want).
04-02-2018, 11:43 AM
(This post was last modified: 04-02-2018, 11:43 AM by donkykong017.)
(04-02-2018, 01:09 AM)gekko2yuno Wrote:(03-27-2018, 07:58 PM)donkykong017 Wrote:(03-27-2018, 05:01 PM)fablerII Wrote:(03-27-2018, 08:11 AM)donkykong017 Wrote:(03-26-2018, 05:19 PM)tommiehansen Wrote: Oh... Why don't you run your backtesting on your work computer? thx so much man. this did finally solve the problem. (04-02-2018, 02:07 AM)tommiehansen Wrote:(04-02-2018, 01:09 AM)gekko2yuno Wrote: Add '/' to the conf.php. even though its a terrible solution. it worked. sry to say, i have not much idea of php. sry for noob behaviour, but i tried everything. deleting redownloading every new new version with new commits. nothing did help. but this solution. i have no idea if it is terrible or not but it worked for me.
04-02-2018, 02:04 PM
(This post was last modified: 04-02-2018, 02:07 PM by tommiehansen.)
Problem is you're changing core logic which will make it harder for you to update GAB.
There will be a new fix for that slash, i saw that the logic was reversed -- fail. The latest release (that isn't released yet) will actually break your own conf.php since it will use user.config.php instead: https://github.com/tommiehansen/gab/issues/9
04-02-2018, 03:25 PM
Quote:PapoKarloserver { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; server_name _; location / { try_files $uri $uri/ =404; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; fastcgi_read_timeout 900; } }
04-02-2018, 06:01 PM
(This post was last modified: 04-02-2018, 09:45 PM by tommiehansen.)
Update
USER CONFIG User configuration is now outside the primary config (as it should be), closes #9: https://github.com/tommiehansen/gab/issues/9 This requires you to create a user.config.php. Just run it and follow the instructions if that's not the case. MULTI-SERVER MODE (NERD MODE) Multi-server is now an option, closes #10: https://github.com/tommiehansen/gab/issues/10 This basically mean that one could setup GAB so that it runs its request against multiple servers. Good if one want to max out threads. This is a real nerd-feature though that e.g. requires that you and your servers has its Gekko-files in sync (for obvious reasons). + other related stuff. Update/grab lastest git pull https://github.com/tommiehansen/gab.git or git clone ...
04-04-2018, 11:34 AM
Update
You can now force your browser into exceeding 6 or 8 max concurrent connections via a config item (see new user.config.sample.php): $allow_origin = true; Defaults to false. Basically creates subdomains when using AJAX via GAB in order to circumvent max connections. Requires that: 1. Your server where you're running GAB actually allows wildcard subdomains (this is easy to check, goto e.g. http://gab50.<your-server>:<your-port>) 2. That your server allows PHP to set headers (to enable allow origin *). Screen, running 16 threads in multi-server mode (4 different servers running Gekko): Also the servers are masked in multi-server mode making it easier to share these sort of screens + other misc stuff like seconds/minutes etc. Update git pull https://github.com/tommiehansen/gab.git |