GetTrades()
<< Click to Display Table of Contents >> GetTrades() |
Returns a TradeCollection object representing all trades that make up the specified position.
A TradeCollection object.
instrument |
An instrument name such as "MSFT" |
entrySignalName |
The name of your entry signal |
instance |
The occurrence to check for (1 is the most recent, 2 is the 2nd most recent position, etc...) |
Examples
protected override void OnBarUpdate() |