Zoomed Image

AMSX Scripting Language - Command : getassetvalue

Summary

Calculate the financial value of an asset and store it in the result buffer

Description

Calls the financial valuation engine for the specified asset and value type, applying the given book, currency, date, and exchange-rate settings. The calculated decimal value is stored as a string in the result buffer.

Parameters

ParameterDescription
cmdwhich value
Argument 0AssetID
Argument 1ToDate (used for purchases and other transactions)
Argument 2BookId
Argument 3CurrencyCode
Argument 4Use asset exchange rate where available
Argument 5Field querystring

Syntax


GetAssetValue "which value", "AssetID", "ToDate (used for purchases and other transactions)", "BookId", "CurrencyCode", "Use asset exchange rate where available", "Field querystring"

Return to the AMSX Command Reference