Skip to main content
Skip table of contents

General functions

BaseObject→Object

Result: The BaseObject function returns the input object of a calculation within a macro definition.


Object.default[value:object]→Object

Result: The Default function returns the value argument if the input object is the default value, an error object or n/a. Otherwise the input object itself.


Security|Folder.createdOn→Date

Result: The CreatedOn function returns the date on which the object was created.


Object.Given→Boolean

Result: The Given function checks whether the input object represents a valid value or not. Please also read the description of the Default function.


Condition:Boolean.If[then:Object1;else:Object2]→Object

Result: The If function returns Object1 if the condition is "True"; otherwise Object2.


ISClientMeetingActive→Boolean

Result: The ISClientMeetingActive function checks whether a client session is active in the Infront Advisory Solution at the time of the query.


MainObject→Object

MinorObject→Object

Result: Chart formulas can be based on two input objects. For example, if a chart was displayed by opening a holder, the security displayed by the chart can be exchanged from the Explorer and analyzed while retaining the holder context. In this case, the MinorObject function returns the security, while the MainObject function returns the holder.


Object→Object

Result: The Object function returns the input object of the calculation in a formula or the object to which a macro is applied in a macro definition.

Beispiel

The formula Plus[Object] doubles a number.

Object.ObjectsAtLevel[Level]→List(WP|DepotObject|...)

Level: Security, custody account, portfolio, holder or group.

Result: The ObjectsAtLevel function returns the list of securities or securities account objects "under" this object.


Object.with(expression)→Object

withObject→Object

with(expression)→object

The with function evaluates an expression under the context of an exchanged object. The expression can consist of a sequence of assignments followed by a result value. All variable assignments are to be regarded as local, i.e. the variable assignments made within the expression are no longer visible after leaving the with context. The with function can be used in three syntactic variants. The round brackets containing the expression to be evaluated are mandatory. The object that serves as input for the expression can be separated by a dot before with or in square brackets after with , or it can be missing altogether. In the latter case, the input object is not changed.

Result: The content of a folder as a list of objects.


Security|Folder.zone→String

Result: The Zone function returns the zone to which the object is assigned. Securities always deliver <Global>, objects from the private area deliver the name of the user.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.