Deep learning for trading and hedging in financial markets