Gets today trades.


SYNTAX


public int GetTodayTrades (string assetName)



PARAMETERS


assetName — string

Asset name


RETURN


int Returns today trades


EXAMPLE


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

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