Deep Q Learning Applied to Stock Trading