add callback to mock trader