Optimal pricing of intraday liquidity