This can be a good thing to do but keep in mind that if you are having stocks that are profitable you should wait a bit longer till a good price and than sell it and go for the bitcoin.
You should not stop with making profit to go for the bitcoin in a fast period.