How Do You Buy Stocks In Cookie Clicker?

How does buying a stock work?

.