Optimal strategies for nanostores under competition in community group buying