The Treasurer shall invest in linked deposits. The total amount deposited at any one time shall not exceed, in the aggregate, $20 million. When deciding how much to invest in linked deposits, the Treasurer shall give priority to the investment, liquidity and cash flow needs of the state.