Margin Call/bank deposit

Hello I was wondering since I had a margin call today and the stocks I have fell far below what I had available to liquidate if the margin call happens first thing in the morning at 8am or if it happens when the market opens at 930? Also I have the funds in a bank account, $4,000, if I start the transfer now at 5pm would that make it through to tomorrow to make sure the margin requirements are met? I didn’t know how to contact anyone about the specifics of how this works with Alpaca.