MarketRuleList
StockSharp.Algo
Lista de reglas.
Hereda de: SynchronizedSet<IMarketRule>
Implementa: IMarketRuleList, INotifyList<IMarketRule>, INotifyCollection<IMarketRule>, ICollection<IMarketRule>, IEnumerable<IMarketRule>, IEnumerable, IList<IMarketRule>, ISynchronizedCollection, ISynchronizable
Constructores
MarketRuleList
public MarketRuleList(IMarketRuleContainer container)
marketRuleList = MarketRuleList(container)
Lista de reglas.
- container
- El contenedor de reglas.
Métodos
GetRulesByToken
public IEnumerable<IMarketRule> GetRulesByToken(object token)
result = marketRuleList.GetRulesByToken(token)
Para conseguir todas las reglas, asociadas con fichas.
- token
- Reglas de token.
Devuelve: Todas las reglas, asociadas con token.
OnAdded
protected override void OnAdded(IMarketRule item)
marketRuleList.OnAdded(item)
Añadiendo el elemento.
- item
- Elemento.
OnClearing
protected override bool OnClearing()
result = marketRuleList.OnClearing()
Elementos de limpieza.
Devuelve: El signo de la posible acción.
OnRemoved
protected override void OnRemoved(IMarketRule item)
marketRuleList.OnRemoved(item)
Eliminar el elemento.
- item
- Elemento.