Skip to main content
Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 479) COM Instance. Inherits from:

Members

Properties

Property TradeStudyCallback

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 1)
Gets or sets the trade study callback object. Return type: LPDISPATCH

Property saveAllAnalyzerVariables

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 1)
Gets or sets whether all analyzer variables are saved in the data history when the trade study is run. Only affects variables added using addAnalyzerVariable(), otherwise the global ModelCenter setting is used (as per usual). The default is false. NOTE: not fully supported in MC 10.2 - you can (and should) set this value as appropriate but setting to true may not have an effect until all of the requisite functionality is added. Return type: boolean

Property id

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 515)
Gets or sets the job manager to use. Return type: IDispatch

Property show

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 522)
Called to display the trade study. Returns: false always Return type: boolean

Property toString

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 529)
Called to save the state of the plug-in. Returns: a string containing state information Return type: BSTR

Property fromString

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 536)
Called to restore the state of a plug-in Parameters:
  • setupString: the state string
Return type: BSTR

Property onEnd

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 542)
Called when the plug-in is about to be deleted. Informs the plug-in to do any necessary clean up. Return type: void

Property addAnalyzerVariable

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 555)
Call to add a variable from an analyzer product. If there are any analyzer variables, the plugin should only accept analyzer variables as trade study parameters. Parameters:
  • formula: the formula of the variable or expression in the ModelCenter model
  • analyzerName: the name of the variable used by the analyzer product; if not specified, the formula is used instead. The plugin should only display and accept aliases.
Return type: VARIANT

Property clearAnalyzerVariables

Definition: ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 560)
Remove all analyzer variables. Return type: void