Fix market maker algorithm