Ejemplo n.º 1
0
        static async Task ListAccounts()
        {
            using (RobinhoodClient client = new RobinhoodClient(_token))
            {
                var result = await client.Accounts();

                if (result.StatusCode == System.Net.HttpStatusCode.OK)
                {
                    result.Data.Results.ForEach(account =>
                                                Console.WriteLine(account.AccountNumber)
                                                );
                }
            }
        }