NinjaScript > Language Reference > Strategy > TradeCollection |
![]() ![]() ![]() ![]() |
Definition 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.
Methods and Properties
Examples
|