Closes the authenticated IG API session.
Alias for `ig_close_session()`.
Examples
if (FALSE) { # \dontrun{
# Authenticate and close session
auth <- ig_auth(
username = "your_username",
password = "your_password",
api_key = "your_api_key",
acc_type = "DEMO",
acc_number = "ABC123"
)
ig_close_session(auth)
# Using mock response for testing
ig_close_session(auth, mock_response = TRUE)
} # }