Knowing the market rates and buying at maximum profit