TradePipeline
StockSharp.Algo.Strategies.Decomposed
Trade processing. Handles deduplication, PnL calculation, commission/slippage accumulation.
Konstruktoren
TradePipeline(IPnLManager, IStatisticManager)
Trade processing. Handles deduplication, PnL calculation, commission/slippage accumulation.
- pnlManager
- PnL manager.
- stats
- Statistic manager.
Eigenschaften
Commission : decimal?
Total accumulated commission.
MyTrades : IEnumerable<MyTrade>
All tracked trades.
Methoden
Reset()
Clear all data.
Ereignisse
CommissionChanged : Action
Fires when commission changes.
PnLChanged : Action<DateTime>
Fires when PnL changes due to a trade.
SlippageChanged : Action
Fires when slippage changes.
TradeAdded : Action<MyTrade>
Fires when a new trade is successfully added.