IStrategy
The external contract of a strategy: the provider surfaces it exposes plus the strategy-specific members.
Implementa: INotifyPropertyChangedEx, INotifyPropertyChanged, IMarketRuleContainer, ILogReceiver, ILogSource, IDisposable, IMarketDataProvider, ISubscriptionProvider, ISecurityProvider, ISecurityMessageProvider, ITransactionProvider, IPortfolioProvider, IPositionProvider, ITimeProvider, IReportSource
Propiedades
public string Name { get; }
value = iStrategy.Name
Strategy name. Re-declared to unify the name inherited from both ILogSource and IReportSource, which are otherwise ambiguous through this interface.
public Portfolio Portfolio { get; set; }
value = iStrategy.Portfolio
iStrategy.Portfolio = value
The portfolio.
public Security Security { get; set; }
value = iStrategy.Security
iStrategy.Security = value
The security.
Métodos
public void RaiseParametersChanged(string name)
iStrategy.RaiseParametersChanged(name)
Raise the parameters-changed notification for the parameter with the specified name.
- name
- Parameter name.
Eventos
public event Action<Order> OrderRegistered
iStrategy.OrderRegistered += handler
The event of order registration.
public event Action PnLChanged
iStrategy.PnLChanged += handler
The profit-loss change event.
public event Action<IStrategy> ProcessStateChanged
iStrategy.ProcessStateChanged += handler
The ProcessState change event.