Analyse history from stored data

 

I have some historical file contains a records in a structure (datetime, bid price). I can read it into memory. Is there exists some memory buffer for analyse methods? How can I use it to test my automated strategy?