private void connect()
        {
            BacktoryResponse <ConnectResponse> response = backtoryApi.Connect();

            if (response.Successful)
            {
                writeLine("---connected: " + response.Body.Username + ":" + response.Body.UserId);
            }
            else
            {
                writeLine("---connect failed with code: " + response.Code + " and message: " + response.Message);
            }
        }