Skip to content

gsoros/GTrader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About GTrader

Docker Automated Build Docker Build Status

GTrader is a trading strategy back-tester and bot manager.

Users

Please use GTrader-env to set up the PHP, MySQL and Nginx-SSL environment in Docker containers.

Developers

Either run from the Dockerhub container...

  1. docker run -d --name gtrader_php -p 127.0.0.1:9000:9000 gsoros/gtrader:latest
  2. inside the container, edit .env with your database settings
  3. configure your webserver to use php-fpm

... or rebuild everything

Requirements
Installation
  1. git clone https://github.com/gsoros/GTrader.git
  2. cd GTrader
  3. composer install
  4. npm install
  5. cp .env.example .env
  6. php artisan key:generate
  7. edit .env
  8. set up db
  9. php artisan migrate
  10. npm run dev
  11. (crontab -l; echo -e "### GTrader Schedule\n* * * * * `which php` `pwd`/artisan schedule:run >> `pwd`/storage/logs/schedule.log 2>&1") | crontab -
  12. php artisan serve

Screenshots

main chart

settings

training

strategies

Warning and disclaimer

Trading carries a high level of risk. This software is at an early stage of development and most likely contains serious bugs. Please do not use it with a live exchange account unless you are prepared to lose part or all of your balance. Even if you are confident having extensively backtested a strategy and are familiar with the inner workings of this software, it is very likely that your strategy is suffering from overfitting or any number of the many pitfalls of algo-trading.

License

GPLv3