In this example there's no variety in place_order(). But I'm receiving this error: TypeError: place_order() missing 1 required positional argument: 'variety'
@PJ_2018 Although, the ws.close and ws.stop are commented out in the above code but if they are used inside on_close, would it stop websocket from trying to reconnect.