Ejemplo n.º 1
0
        public static void GetAssets(TickTraderWebClient client)
        {
            // Account assets
            TTAccount account = client.GetAccount();

            if (account.AccountingType == TTAccountingTypes.Cash)
            {
                List <TTAsset> assets = client.GetAllAssets();
                foreach (var a in assets)
                {
                    Console.WriteLine("{0} asset: {1}", a.Currency, a.Amount);
                }
            }
        }