Gets maintance margin.


SYNTAX


public double GetMaintanceMargin (string assetName)


PARAMETERS


assetName — string

Asset name


RETURN


double Returns maintance margin


EXAMPLE


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

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