Unfortunately historical ticker data that is free is hard to come by. Now that opentick is dead, I dont know of any other provider.
In a previous lifetime I worked for a hedgefund that had an automated trading system, and we used historical data profusely.
We used TickData for our source. Their prices were reasonable, and the data had sub second resolution.