Buying using unsettled fund? Haram or Halal?

As described in the title. I am trying to know if it’s halal to use unsettled funds to buy stocks.

Hope you can provide me with answers.

Thanks