use websockets onopen callback to create instruments