Solved by francois-rozet in post #4 
              
              
                That is pretty much it! Although the one-hot-encoding is more likely to be “word-level” than “character-level”, but I might be wrong. 
Anyway, in the case of stock prices, you indeed have a sequence of dense vectors already (I guess). You cannot represent each vector by an index and, therefore, you …