I think you may find you need to add a couple of spaces and reformat the string:
cmd.CommandText = "insert into " + inp_table + " ([date],[open],[high],[low],[close],[volume]) values(@date, @open,@high,@low,@close,@volume)";
I won't mention stored procedures. :-)