This work contributes the bank liquidity management by applying supervised machine learning models to provide banks with early warnings of liquidity stress using market base indicators. Identifying increasing levels of stress as early as possible provides management with a crucial window of time in which to assess and develop a potential response. In this study, market stress was transformed into a classification problem. Publicly available data from 2007 to 2021 was used to train the machine learning model; this period covers two severe stress periods, namely the 2007-2008 Global Financial Crisis and the Covid-19 crisis. The St. Louis Fed Financial Stress Index was used to define the level of stress in the market. Each day trading was assigned a red-amber-green (RAG) status to identify the risk level for that day. Machine learning models were then applied to predict the RAG status of each day. Due to a significantly limited number of “red” status days, modelling became more challenging. An ensemble model with a random under-sampling boosting algorithm (RUSBoost) was used to improve predictions of imbalanced data. Initial results show the machine learning model used in this study can predict 80% of “red” risk days. The current version of the developed model has been back-tested using data from the Covid-19 crisis and it was able to trigger “amber” and “red” status as crisis unfolding. These findings show that the ensemble model with the RUSBoost algorithm predicts “red” and “amber” days on average 36% more than other machine learning models and can contribute to bank risk management.