Java based algorithmic trading system using PostgreSQL and Gradle