stiPresetTrades-class: Class "stiPresetTrades"
Description
A trades interface that provides a predetermined set of
trades for instructional purposes. Objects from the Class
Objects can be created by calls of the form new("stiPresetTrades", ...).Slots
periods:- Object of class
"orderable" containing
the periods for which trades are available. sim.trades:- Object of class
"list" containing
the trades for each period.
Extends
Class "simTradesInterface", directly.Methods
- getSimTrades
signature(object = "stiPresetTrades",
period = "orderable", holdings = "portfolio", sim.data =
"simData", verbose = "logical"): get the trades for period.