public IEnumerator GetEnumerator() { try { SmartQuant.Providers.BrokerPosition[] array = this.positions; for (int i = 0; i < array.Length; i++) { SmartQuant.Providers.BrokerPosition brokerPosition = array[i]; yield return(new BrokerPosition(brokerPosition)); } } finally { } yield break; }
public BrokerPosition AddPosition() { SmartQuant.Providers.BrokerPosition brokerPosition = new SmartQuant.Providers.BrokerPosition(); this.brokerAccount.AddPosition(brokerPosition); return new BrokerPosition(brokerPosition); }
internal BrokerPosition(SmartQuant.Providers.BrokerPosition brokerPosition) { this.brokerPosition = brokerPosition; }
internal BrokerPosition(SmartQuant.Providers.BrokerPosition brokerPosition) { this.brokerPosition = brokerPosition; }
public BrokerPosition AddPosition() { SmartQuant.Providers.BrokerPosition brokerPosition = new SmartQuant.Providers.BrokerPosition(); this.brokerAccount.AddPosition(brokerPosition); return(new BrokerPosition(brokerPosition)); }