joeldg / bowhead

PHP trading bot framework
Apache License 2.0
801 stars 288 forks source link

Loading Testing Data - Part I #73

Open linuxster opened 6 years ago

linuxster commented 6 years ago

Hi, While I was following the blog post, I had some errors with the steps below 1) table bowhead_ohlc was never populated (also during artisan php artisan bowhead:example_usage), however, other tables like bowhead_ohlc_1m, bowhead_ohlc_5m, etc have data. Perhaps I am missing a step and would be great if you could give me some hints. 2) was not able to connect using Sequel Pro. would be great if you could describe steps here as it probably requires docker run to be supplied with some parameters

Thanks!

----- excerpt ------ mysql -u root -p bowhead < app\Script\DBdump.sql php artisan migrate php artisan db:seed Open up the database in Sequel Pro and you will the sample data in the bowhead_ohlc (open, high, low, close) table.

Ref: https://medium.com/@joeldg/an-advanced-tutorial-a-new-crypto-currency-trading-bot-boilerplate-framework-e777733607ae

rxmg-joeldg commented 6 years ago

I just pushed a ton of changes, part of the new changes include Laravel seeders instead of manually piping in sql, have it with a web configurator and all.. Should be nice and simple