Moved CallOnEvent to coe.py.
Circumvent bug #6507 from twisted.
Better coordination between trade fetching from the HTTP API and the Streaming API together with loading and storing data from/to the database; Other minor changes.