Why wasn't I charged for the Stock I bought?

I bought some shares for 300 it wasn't deducted out of my bank but my portfolio is still worth like 300. I'm new to investing.
3 answers 3