An investor must make a cash deposit into a margin account in order for the broker to lend funds to be used in the stock market, options market, futures market or forex. The deposited money acts as a collateral for the loaned funds.