Count
property
Returns number of all open orders.
Syntax
public int Count { get; }
Example
В следующем примере кода показано можно использовать свойство Count.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PTLRuntime.NETScript;
namespace Examples
{
public class OrdersCollectionExample : NETStrategy
{
public override void Init()
{
Print(
Orders.Count+ " :orders without SLTP\n" +
Orders.SLTPCount + " :SLTP orders"
);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.