I keep my speed magnet near the hub. Has worked thus far...and I've even rode alongside a friends car (with an electronic speedometer) and compared my readings to theirs. It seems accurate enough for my uses
(I'm using a Cateye cadence strada wired. And the magnet has to go near the hub because there would be too much cord along the chainstays)