tommiehansen / gab

Gekko Automated Backtests
57 stars 19 forks source link

Facing issues with getting the setup running #16

Closed AdityaNayak closed 6 years ago

AdityaNayak commented 6 years ago

Hi @tommiehansen,

First of all, fantastic work with the tool. The UI is just exceptional!

I am facing issues with getting the setup running. Perhaps you can help me you? This is the errors I see

image

And

Warning: Invalid argument supplied for foreach() in /Users/AdityaNayak/Bots/trading/gab/system/class.gab.php on line 63

I have PHP 7.1.2 on mac OS with the latest SQL lite

tommiehansen commented 6 years ago

Have you set it up and made sure your settings are 100% correct? And are you actually running Gekko UI?

It would seem it tries to fetch something that do not exist.

AdityaNayak commented 6 years ago

Yes, that was the issue. However, not all issues have been cleared up.

Can you clarify on where do I see the results?

This is what I see in the log: image

and a bunch of errors on the view runs screen.

image

tommiehansen commented 6 years ago

So after 2 hours you got 1 result? You really need to test something else that doesn't require you to run it for 2 hours in order to get a single response.

Also try updating to the last version.

Yes, the error for the view is because there is no data to display so there is no 0 in this case. This was fixed a couple of hours ago.

Also, in the new version, try running /tools/ and click on 'Sanity check' and see what it says.

AdityaNayak commented 6 years ago

I think the timer doesn't stop when the run gets completed. It showed completed = 1 in under 20 minutes. I am using the standard demo with a variation on candle size to test.

I am unable to load /tools/ or the view.php page. It just gets stuck at loading. The issue with view page existed earlier also. It does load sporadically though. I don't see any errors in the console.

tommiehansen commented 6 years ago

If you cannot load /tools/ at all you either does not have the latest version or have some serious problems with your setup and if you have that GAB simply will most probably not work.

AdityaNayak commented 6 years ago

The /tools/ pages loaded after the run finished.

I can confirm that I have the latest code from master. I also rand the sanity check and it returns everything as ok.

Is there something else I can do, to be able to get it to run? Also, this time again. I did a run, it says completed but it doesn't show in the lists of completed runs on the view page.

tommiehansen commented 6 years ago

A run can be completed but if it isn't a successful run there is no data to show since the view only shows successful runs.

A "successful" run is defined as a run where your strategy beat the market:

image

tommiehansen commented 6 years ago

The user doesn't seem to want to solve the problems.

AdityaNayak commented 6 years ago

I appreciate the time taken to arrive at the deduction however, incorrect and potentially driven by agitation it might be. :)

I have gratitude for you for the effort in building the project, sharing it and your time you spent in solving this issue.

I'll have bandwidth to only get to this by day after. I'll post the update incase you are still interested.

On Tue, Apr 17, 2018, 12:04 PM Tommie Hansen notifications@github.com wrote:

The user doesn't seem to want to solve the problems.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tommiehansen/gab/issues/16#issuecomment-381863723, or mute the thread https://github.com/notifications/unsubscribe-auth/ABO4m9M4qMGEZf9wmsDeoAQEE0dA6xsbks5tpYzkgaJpZM4TT7OE .