A Real-time Withdrawal Function for XBT