The shape should be (N,7,,1) instead of (N,1,7) as the per conv1d ( batch_size,timesteps,channels\features). 7 time steps of prices (1 feature)