Pulled in modified websocket code from btcArb. Modified data model to better accept streaming data