Returns today's net value.


SYNTAX


public double GetTodayNet (string assetName)


PARAMETERS


assetName — string

Asset name


RETURN


double


EXAMPLE


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

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