public IEnumerator GetEnumerator()
 {
     try
     {
         SmartQuant.Providers.BrokerOrder[] array = this.orders;
         for (int i = 0; i < array.Length; i++)
         {
             SmartQuant.Providers.BrokerOrder brokerOrder = array[i];
             yield return(new BrokerOrder(brokerOrder));
         }
     }
     finally
     {
     }
     yield break;
 }
		public BrokerOrder AddOrder()
		{
			SmartQuant.Providers.BrokerOrder brokerOrder = new SmartQuant.Providers.BrokerOrder();
			this.brokerAccount.AddOrder(brokerOrder);
			return new BrokerOrder(brokerOrder);
		}
Beispiel #3
0
 public BrokerOrder AddOrder()
 {
     SmartQuant.Providers.BrokerOrder brokerOrder = new SmartQuant.Providers.BrokerOrder();
     this.brokerAccount.AddOrder(brokerOrder);
     return(new BrokerOrder(brokerOrder));
 }
 internal BrokerOrder(SmartQuant.Providers.BrokerOrder brokerOrder)
 {
     this.brokerOrder = brokerOrder;
 }
		internal BrokerOrder(SmartQuant.Providers.BrokerOrder brokerOrder)
		{
			this.brokerOrder = brokerOrder;
		}