Time is the trickiest dependency. Use exchange calendars, explicit time zones, and a simulated clock for backtests that advances only when events fire. A colleague once chased a phantom alpha that vanished after aligning premarket sessions correctly. The fix was simple: a canonical clock, calendar-aware merges, and documented assumptions that removed ambiguity from every subsequent analysis and live rehearsal.
Treat importing data as a formal pipeline with parsing, normalization, and domain validation stages. Flag negative prices, zero volume spikes, and duplicated timestamps early, not during performance review. We once caught a subtle bug where a feed mislabeled quote currency; a schema validator raised a crisp error, saving days of confusion and protecting the integrity of dozens of downstream experiments.