Gets blocked balance.


SYNTAX


public double GetBlockedBalance (string assetName)



PARAMETERS


assetName — string

Asset name


RETURN


double Returns a blocked balance


EXAMPLE


using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;

namespace GetBlockedBalanceExamples
{
     public class GetBlockedBalanceExamples : NETStrategy
     { 
         public override void OnQuote()
         {
             Account acc = Accounts.Current;
             Print(acc.GetBlockedBalance("USD").ToString());
         }   
     }
}