Parsed documentation:
View on GitHub
Signs in to the IG Markets Dealing Platform, either the live platform or the demo platform.

@param [String] username The IG Markets username.
@param [String] password The IG Markets password.
@param [String] api_key The IG Markets API key.
@param [:live, :demo] platform The platform to use.

@return [ClientAccountSummary] The client account summary returned by the sign in request. This result can also
                               be accessed later using {#client_account_summary}.
Please help! Open an issue on GitHub if this assessment is incorrect.