TradeCollection
<< Click to Display Table of Contents >> TradeCollection |
A collection of Trade objects. You can access a trade object by providing an index value. Trades are indexed sequentially meaning the oldest trade taken in a strategy will be at an index value of zero. The most recent trade taken will be at an index value of the total trades in the collection minus 1.
An int value representing the number of trades in the collection |
|
Gets a TradeCollection object of even trades |
|
Gets a TradeCollection object representing a specified position |
|
Gets a TradeCollection object of losing trades |
|
Gets a TradesPerformance object |
|
Gets a TradeCollection object of winning trades |
Example 1 |
---|
protected override void OnBarUpdate() |
Example 2 |
---|
protected override void OnBarUpdate() |