Gets investor fund capital.
SYNTAX
public double GetInvestedFundCapital (string assetName)
PARAMETERS
assetName — string
Asset name
RETURN
double Returns a investor fund capital
EXAMPLE
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace GetInvestedFundCapitalExamples
{
public class GetInvestedFundCapitalExamples : NETStrategy
{
public override void OnQuote()
{
Account acc = Accounts.Current;
Print(acc.GetInvestedFundCapital("USD").ToString());
}
}
}