Price Algorithm