I always favor the buyer personally.

So long as the item sells more on the market board (after fees/taxes) than it would a NPC, I consider it a profit.

I have 0 issues selling things to the NPC’s if prices drop too low.