gsoros / GTrader

a trading strategy trainer, back-tester and bot
GNU General Public License v3.0
83 stars 38 forks source link

Problem with charts #9

Closed moieric11 closed 7 years ago

moieric11 commented 7 years ago

Hello

I just installed the gtrader on a AMI EC2 Amazon, and the charts are black (not appearing)

Thanks for your help

gsoros commented 7 years ago

Hi, have you set up the cron job? It works by periodically fetching the candlestick data from the exchange and storing it in the local db. You can do this also by typing "php artisan candles:fetch" in the console.

The software is pre-alpha at the moment so I don't recommend using it as anything other than a toy.

Good luck!

On 5 Jul 2017 03:13, "moieric11" notifications@github.com wrote:

Hello

I just installed the gtrader on a AMI EC2 Amazon, and the charts are black (not appearing)

Thanks for your help

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gsoros/GTrader/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ALedWchCbLlU53owQ2jRkedh_IZeKI5fks5sKuNBgaJpZM4ONw_V .

moieric11 commented 7 years ago

Hi, thanks for your help

The cronjob work properly, i join you the logs

laravel.log.txt schedule.log.txt gtraderempty

i don't see real errors except of function 'imagecreatetruecolor' not found or invalid function name in /home/ec2-user/GTrader/vendor/davefx/phplot/phplot/phplot.php:690

gsoros commented 7 years ago

Hi, looks like GD support is missing from your PHP installation. Try:

sudo yum install php70-gd

On 5 Jul 2017 23:00, "moieric11" notifications@github.com wrote:

Hi, thanks for your help

The cronjob work properly, i join you the logs

laravel.log.txt https://github.com/gsoros/GTrader/files/1125994/laravel.log.txt schedule.log.txt https://github.com/gsoros/GTrader/files/1125995/schedule.log.txt [image: gtraderempty] https://user-images.githubusercontent.com/29905535/27884731-97c81a4c-61d5-11e7-91d1-98c1395b6698.jpg

i don't see real errors except of function 'imagecreatetruecolor' not found or invalid function name in /home/ec2-user/GTrader/vendor/ davefx/phplot/phplot/phplot.php:690

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gsoros/GTrader/issues/9#issuecomment-313225286, or mute the thread https://github.com/notifications/unsubscribe-auth/ALedWd7l5Gmx4eodjnPr8rtjL6IED2hlks5sK_lVgaJpZM4ONw_V .

moieric11 commented 7 years ago

Hi,

Yes it's ok right now, needed to install php70-gd

Thanks for help