My blog source code https://recruit.gmo.jp/engineer/jisedai/blog/fx_price_prediction_using_temporal_convolutional_network/