Sample Financial Liquidity Model in R